From: Michael Snyder Date: Wed, 5 May 2010 19:58:12 +0000 (+0000) Subject: 2010-05-05 Michael Snyder X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=e0f069a3eab288fb959c7f0bf20c7595c38d8510;p=binutils-gdb.git 2010-05-05 Michael Snyder * linux-record.c (record_linux_system_call): Delete unused variables. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 274687434da..bd5ba0cea2f 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,5 +1,8 @@ 2010-05-05 Michael Snyder + * linux-record.c (record_linux_system_call): + Delete unused variables. + * corelow.c (core_xfer_partial): Delete unused variables. * solib-svr4.c (find_program_interpreter): Delete unused variable. diff --git a/gdb/linux-record.c b/gdb/linux-record.c index 74ef9bd0132..6692ec1f27c 100644 --- a/gdb/linux-record.c +++ b/gdb/linux-record.c @@ -829,8 +829,6 @@ record_linux_system_call (enum gdb_syscall syscall, if (tmpulongest) { gdb_byte *a = alloca (tdep->size_ulong * 2); - int addrlen; - gdb_byte *addrlenp; ULONGEST len; tmpulongest += tdep->size_ulong; @@ -892,8 +890,6 @@ record_linux_system_call (enum gdb_syscall syscall, if (tmpulongest) { gdb_byte *a = alloca (tdep->size_ulong * 2); - int addrlen; - gdb_byte *addrlenp; ULONGEST len; tmpulongest += tdep->size_ulong * 4;