Skip to content

Commit cf69bd5

Browse files
committed
Add missing local declaration in recursive_initialization.cpp
1 parent feb3f50 commit cf69bd5

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/goto-harness/recursive_initialization.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1008,6 +1008,7 @@ code_blockt recursive_initializationt::build_function_pointer_constructor(
10081008

10091009
const auto function_pointer_selector =
10101010
get_fresh_local_symexpr("function_pointer_selector");
1011+
body.add(code_declt{function_pointer_selector});
10111012
body.add(
10121013
code_assignt{function_pointer_selector,
10131014
side_effect_expr_nondett{function_pointer_selector.type(),

0 commit comments

Comments
 (0)