diff options
author | DJ Delorie <dj@redhat.com> | 2004-11-24 03:00:34 +0000 |
---|---|---|
committer | DJ Delorie <dj@redhat.com> | 2004-11-24 03:00:34 +0000 |
commit | eb129e357a5dce022c3e46e3d35d30074774e11c (patch) | |
tree | f8ba0757e9286d3c255c975a0d36b799b0647596 /libiberty/cp-demangle.c | |
parent | b34bf369e70b6af445e9f9ba2cbe504cb96cb920 (diff) | |
download | gdb-eb129e357a5dce022c3e46e3d35d30074774e11c.zip gdb-eb129e357a5dce022c3e46e3d35d30074774e11c.tar.gz gdb-eb129e357a5dce022c3e46e3d35d30074774e11c.tar.bz2 |
merge from gcc
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 8608bc8..5707aa2 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; |