diff options
author | Andrey Smirnov <ndreys@sourceware.org> | 2011-12-05 03:48:29 +0000 |
---|---|---|
committer | Andrey Smirnov <ndreys@sourceware.org> | 2011-12-05 03:48:29 +0000 |
commit | a5ff83562895fa7659dc0f8802febf9b2b5d377b (patch) | |
tree | 68061ed8b54e292bde0e433df54c30dddce81215 /gdb/amd64-tdep.c | |
parent | 1850f7144d06d0a1d379b90e2bd096e84fd146fc (diff) | |
download | gdb-a5ff83562895fa7659dc0f8802febf9b2b5d377b.zip gdb-a5ff83562895fa7659dc0f8802febf9b2b5d377b.tar.gz gdb-a5ff83562895fa7659dc0f8802febf9b2b5d377b.tar.bz2 |
* amd64-tdep.c (amd64_push_dummy_call): Remove nested definition
of `tdep'(-Wshadow).
Diffstat (limited to 'gdb/amd64-tdep.c')
-rw-r--r-- | gdb/amd64-tdep.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/gdb/amd64-tdep.c b/gdb/amd64-tdep.c index bd31e54..803a20f 100644 --- a/gdb/amd64-tdep.c +++ b/gdb/amd64-tdep.c @@ -878,7 +878,6 @@ amd64_push_dummy_call (struct gdbarch *gdbarch, struct value *function, /* Pass "hidden" argument". */ if (struct_return) { - struct gdbarch_tdep *tdep = gdbarch_tdep (gdbarch); /* The "hidden" argument is passed throught the first argument register. */ const int arg_regnum = tdep->call_dummy_integer_regs[0]; |