diff options
author | Joel Brobecker <brobecker@gnat.com> | 2012-03-29 18:50:21 +0000 |
---|---|---|
committer | Joel Brobecker <brobecker@gnat.com> | 2012-03-29 18:50:21 +0000 |
commit | 6c88661cd473bf1e78bb996e8bcf0a00c7499097 (patch) | |
tree | e947cee548a99ff1c180910610b252eeac451a70 /gdb/value.h | |
parent | 4e5c77fe1ac64db7550f09c442563620fb1e7080 (diff) | |
download | gdb-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