From e0f069a3eab288fb959c7f0bf20c7595c38d8510 Mon Sep 17 00:00:00 2001 From: Michael Snyder Date: Wed, 5 May 2010 19:58:12 +0000 Subject: [PATCH] 2010-05-05 Michael Snyder * linux-record.c (record_linux_system_call): Delete unused variables. --- gdb/ChangeLog | 3 +++ gdb/linux-record.c | 4 ---- 2 files changed, 3 insertions(+), 4 deletions(-) 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; -- 2.30.2