diff options
author | Ian Lance Taylor <ian@wasabisystems.com> | 2004-11-24 02:19:10 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@gcc.gnu.org> | 2004-11-24 02:19:10 +0000 |
commit | 0b167d51ed3c0f9dfa2cee5bde9d7fd5a6bdd04d (patch) | |
tree | 599822dfd05365765ac3cb4d7bec0f4c22a7aeda /libiberty/cp-demangle.c | |
parent | 554707bdf810583871de12213e5dcf298f1a431e (diff) | |
download | gcc-0b167d51ed3c0f9dfa2cee5bde9d7fd5a6bdd04d.tar.gz |
re PR other/18623 (4 * libiberty local variables set but never used)
PR other/18623
* cp-demangle.c (d_call_offset): Remove useless local variables
offset and virtual_offset.
* cplus-dem.c (ada_demangle): Remove useless local variable
at_start_name.
(demangle_template): Remove useless local variable start.
From-SVN: r91133
Diffstat (limited to 'libiberty/cp-demangle.c')
-rw-r--r-- | libiberty/cp-demangle.c | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/libiberty/cp-demangle.c b/libiberty/cp-demangle.c index 8608bc82507..5707aa20aa2 100644 --- a/libiberty/cp-demangle.c +++ b/libiberty/cp-demangle.c @@ -1633,20 +1633,17 @@ d_call_offset (di, c) struct d_info *di; int c; { - long offset; - long virtual_offset; - if (c == '\0') c = d_next_char (di); if (c == 'h') - offset = d_number (di); + d_number (di); else if (c == 'v') { - offset = d_number (di); + d_number (di); if (d_next_char (di) != '_') return 0; - virtual_offset = d_number (di); + d_number (di); } else return 0; |