diff --git a/src/pointer-analysis/value_set_analysis.cpp b/src/pointer-analysis/value_set_analysis.cpp index 6d55ebc1761..d828c7cc1b9 100644 --- a/src/pointer-analysis/value_set_analysis.cpp +++ b/src/pointer-analysis/value_set_analysis.cpp @@ -21,7 +21,6 @@ Author: Daniel Kroening, kroening@kroening.com void value_sets_to_xml( std::function get_value_set, const goto_programt &goto_program, - const irep_idt &identifier, xmlt &dest) { source_locationt previous_location; @@ -85,7 +84,7 @@ void convert( { xmlt &f=dest.new_element("function"); f.new_element("identifier").data=id2string(f_it->first); - value_set_analysis.convert(f_it->second.body, f_it->first, f); + value_set_analysis.convert(f_it->second.body, f); } } @@ -98,6 +97,5 @@ void convert( value_set_analysis.convert( goto_program, - "", dest.new_element("program")); } diff --git a/src/pointer-analysis/value_set_analysis.h b/src/pointer-analysis/value_set_analysis.h index 31dc306026a..6d1b0bb0b6a 100644 --- a/src/pointer-analysis/value_set_analysis.h +++ b/src/pointer-analysis/value_set_analysis.h @@ -23,7 +23,6 @@ class xmlt; void value_sets_to_xml( std::function get_value_set, const goto_programt &goto_program, - const irep_idt &identifier, xmlt &dest); template @@ -42,13 +41,11 @@ class value_set_analysis_templatet: void convert( const goto_programt &goto_program, - const irep_idt &identifier, xmlt &dest) const { value_sets_to_xml( [this](locationt l) { return (*this)[l].value_set; }, goto_program, - identifier, dest); }