aboutsummaryrefslogtreecommitdiff
path: root/gdb/value.h
diff options
context:
space:
mode:
authorJoel Brobecker <brobecker@gnat.com>2012-03-29 18:50:21 +0000
committerJoel Brobecker <brobecker@gnat.com>2012-03-29 18:50:21 +0000
commit6c88661cd473bf1e78bb996e8bcf0a00c7499097 (patch)
treee947cee548a99ff1c180910610b252eeac451a70 /gdb/value.h
parent4e5c77fe1ac64db7550f09c442563620fb1e7080 (diff)
downloadgdb-6c88661cd473bf1e78bb996e8bcf0a00c7499097.zip
gdb-6c88661cd473bf1e78bb996e8bcf0a00c7499097.tar.gz
gdb-6c88661cd473bf1e78bb996e8bcf0a00c7499097.tar.bz2
Fix -Wshadow error in ada-valprint.c
gdb/ChangeLog: * ada-valprint.c (ada_val_print_1): Move the code handling TYPE_CODE_ENUM inside its own lexical block. Declare variables len and val there, instead of in the function's top level block. Avoid declaring deref_val again in a way that shadows another variable of the same name declared in one of the up-level blocks. Just re-use the up-level variable instead.
Diffstat (limited to 'gdb/value.h')
0 files changed, 0 insertions, 0 deletions