This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
PATCH: remove unused local variable
- From: Jim Blandy <jimb at redhat dot com>
- To: gdb-patches at sources dot redhat dot com
- Date: 02 Jun 2004 13:23:10 -0500
- Subject: PATCH: remove unused local variable
Committed as obvious.
2004-06-02 Jim Blandy <jimb@redhat.com>
* ppc-linux-nat.c (store_register): Remove unused local 'offset'.
Index: gdb/ppc-linux-nat.c
===================================================================
RCS file: /cvs/src/src/gdb/ppc-linux-nat.c,v
retrieving revision 1.41
diff -c -p -r1.41 ppc-linux-nat.c
*** gdb/ppc-linux-nat.c 2 Jun 2004 18:17:05 -0000 1.41
--- gdb/ppc-linux-nat.c 2 Jun 2004 18:23:55 -0000
*************** store_register (int tid, int regno)
*** 407,413 ****
/* This isn't really an address. But ptrace thinks of it as one. */
CORE_ADDR regaddr = ppc_register_u_addr (regno);
int i;
- unsigned int offset; /* Offset of registers within the u area. */
char buf[MAX_REGISTER_SIZE];
if (altivec_register_p (regno))
--- 407,412 ----