Skip to content

Commit

Permalink
Fix false positive code checker warning in debug build
Browse files Browse the repository at this point in the history
  • Loading branch information
kjellwinblad committed Oct 20, 2021
1 parent 2c7f489 commit 06023ba
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions erts/lib_src/yielding_c_fun/ycf_yield_fun.c
Original file line number Diff line number Diff line change
Expand Up @@ -909,6 +909,7 @@ void ast_add_yield_code_generated_define(ycf_node* source_out_tree/*Will be chan
"static void* ycf_find_stack_bottom_conservative_helper() {\n"
" void* p = NULL;\n"
" volatile intptr_t tmp = (intptr_t)&p;\n"
" /* codechecker_intentional [StackAddrEscapeBase] */\n"
" return (void*)tmp;\n"
"}\n"
"static void* ycf_find_stack_bottom_conservative() {\n"
Expand Down

0 comments on commit 06023ba

Please sign in to comment.