Skip to content

Commit

Permalink
Remove gcc warning about variable which can be clobbered by longjump.
Browse files Browse the repository at this point in the history
  • Loading branch information
rocky committed Dec 31, 2014
1 parent 84a6b4f commit e37ccd5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion debugger/cmd.c
Expand Up @@ -356,7 +356,7 @@ debug_return_t enter_debugger (target_stack_node_t *p,
file_t *p_target, int errcode,
debug_enter_reason_t reason)
{
debug_return_t debug_return = debug_readloop;
volatile debug_return_t debug_return = debug_readloop;
static bool b_init = false;
static bool b_readline_init = false;
char open_depth[MAX_NEST_DEPTH];
Expand Down

0 comments on commit e37ccd5

Please sign in to comment.