diff options
author | Andrey Smirnov <ndreys@sourceware.org> | 2011-12-11 03:04:45 +0000 |
---|---|---|
committer | Andrey Smirnov <ndreys@sourceware.org> | 2011-12-11 03:04:45 +0000 |
commit | d3fbdd8686ccab8af8839c2c4468cc3ba6e210ae (patch) | |
tree | 00467f4b3179f60b2c2837c883e9bd729a3098d8 /gdb/breakpoint.c | |
parent | eacd795a56bb22fe085272b724f6e02a11bb820c (diff) | |
download | gdb-d3fbdd8686ccab8af8839c2c4468cc3ba6e210ae.zip gdb-d3fbdd8686ccab8af8839c2c4468cc3ba6e210ae.tar.gz gdb-d3fbdd8686ccab8af8839c2c4468cc3ba6e210ae.tar.bz2 |
* breakpoint.c (update_global_location_list): Remove nested
definition of `b'(-Wshadow).
Diffstat (limited to 'gdb/breakpoint.c')
-rw-r--r-- | gdb/breakpoint.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/breakpoint.c b/gdb/breakpoint.c index e683c20..0686587 100644 --- a/gdb/breakpoint.c +++ b/gdb/breakpoint.c @@ -10634,8 +10634,8 @@ update_global_location_list (int should_insert) { /* ALL_BP_LOCATIONS bp_location has LOC->OWNER always non-NULL. */ - struct breakpoint *b = loc->owner; struct bp_location **loc_first_p; + b = loc->owner; if (!should_be_inserted (loc) || !breakpoint_address_is_meaningful (b) |