File tree Expand file tree Collapse file tree 2 files changed +2
-12
lines changed Expand file tree Collapse file tree 2 files changed +2
-12
lines changed Original file line number Diff line number Diff line change @@ -561,8 +561,8 @@ int jbmc_parse_optionst::doit()
561
561
562
562
goto_modelt &goto_model = *goto_model_ptr;
563
563
564
- if (set_properties (goto_model ))
565
- return 7 ; // should contemplate EX_USAGE from sysexits.h
564
+ if (cmdline. isset ( " property " ))
565
+ ::set_properties (goto_model, cmdline.get_values( " property " ));
566
566
567
567
if (
568
568
options.get_bool_option (" program-only" ) ||
@@ -721,14 +721,6 @@ int jbmc_parse_optionst::doit()
721
721
}
722
722
}
723
723
724
- bool jbmc_parse_optionst::set_properties (goto_modelt &goto_model)
725
- {
726
- if (cmdline.isset (" property" ))
727
- ::set_properties (goto_model, cmdline.get_values(" property" ));
728
-
729
- return false ;
730
- }
731
-
732
724
int jbmc_parse_optionst::get_goto_program (
733
725
std::unique_ptr<goto_modelt> &goto_model,
734
726
const optionst &options)
Original file line number Diff line number Diff line change @@ -128,8 +128,6 @@ class jbmc_parse_optionst : public parse_options_baset
128
128
std::unique_ptr<goto_modelt> &goto_model, const optionst &);
129
129
bool show_loaded_functions (const abstract_goto_modelt &goto_model);
130
130
bool show_loaded_symbols (const abstract_goto_modelt &goto_model);
131
-
132
- bool set_properties (goto_modelt &goto_model);
133
131
};
134
132
135
133
#endif // CPROVER_JBMC_JBMC_PARSE_OPTIONS_H
You can’t perform that action at this time.
0 commit comments