From: Jim Blandy Date: Wed, 2 Jun 2004 18:24:35 +0000 (+0000) Subject: * ppc-linux-nat.c (store_register): Remove unused local 'offset'. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=1da28ab05f6e368b4be1b53e1c2bb887b635994c;p=binutils-gdb.git * ppc-linux-nat.c (store_register): Remove unused local 'offset'. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 0e165ca70ae..26ce8b85569 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -3,6 +3,8 @@ * ppc-linux-nat.c (store_register, fetch_register): Rename 'mess' to 'message', and make it local to the lone block that uses it. + * ppc-linux-nat.c (store_register): Remove unused local 'offset'. + 2004-06-02 Paul N. Hilfinger * ada-exp.y: Synchronize with current ACT sources. diff --git a/gdb/ppc-linux-nat.c b/gdb/ppc-linux-nat.c index 0d9fbc28459..f532a58b15f 100644 --- a/gdb/ppc-linux-nat.c +++ b/gdb/ppc-linux-nat.c @@ -407,7 +407,6 @@ store_register (int tid, int regno) /* 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))