mirror of
https://github.com/bminor/binutils-gdb.git
synced 2025-12-26 09:08:59 +00:00
gdb/
Fix false GCC warning. * breakpoint.c (do_enable_breakpoint): Initialize orig_enable_state.
This commit is contained in:
@@ -11468,7 +11468,8 @@ do_enable_breakpoint (struct breakpoint *bpt, enum bpdisp disposition)
|
||||
|
||||
if (is_watchpoint (bpt))
|
||||
{
|
||||
enum enable_state orig_enable_state;
|
||||
/* Initialize it just to avoid a GCC false warning. */
|
||||
enum enable_state orig_enable_state = 0;
|
||||
struct gdb_exception e;
|
||||
|
||||
TRY_CATCH (e, RETURN_MASK_ALL)
|
||||
|
||||
Reference in New Issue
Block a user