Skip to content

Commit 7d2be6a

Browse files
Don't change stuff unless asked
1 parent bb617bb commit 7d2be6a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/cbmc/cbmc_parse_options.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -839,9 +839,9 @@ bool cbmc_parse_optionst::process_goto_program(
839839
<< messaget::eom;
840840

841841
if(
842-
options.is_set(RESTRICT_FUNCTION_POINTER_OPT) ||
843-
options.is_set(RESTRICT_FUNCTION_POINTER_BY_NAME_OPT) ||
844-
options.is_set(RESTRICT_FUNCTION_POINTER_FROM_FILE_OPT))
842+
!options.get_list_option(RESTRICT_FUNCTION_POINTER_OPT).empty() ||
843+
!options.get_list_option(RESTRICT_FUNCTION_POINTER_BY_NAME_OPT).empty() ||
844+
!options.get_list_option(RESTRICT_FUNCTION_POINTER_FROM_FILE_OPT).empty())
845845
{
846846
label_function_pointer_call_sites(goto_model);
847847
auto const by_name_restrictions =

0 commit comments

Comments
 (0)