PATCH: remove unused local variable

Jim Blandy jimb@redhat.com
Wed Jun 2 18:24:00 GMT 2004


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 ----



More information about the Gdb-patches mailing list