[OB] mips-linux-tdep.c: remove unused variable

Michael Snyder msnyder@specifix.com
Thu Dec 13 20:30:00 GMT 2007


2007-12-13  Michael Snyder  <msnyder@specifix.com>

	* mips-linux-tdep.c (mips64_fill_gregset): Remove unused variable.

Index: mips-linux-tdep.c
===================================================================
RCS file: /cvs/src/src/gdb/mips-linux-tdep.c,v
retrieving revision 1.66
diff -u -p -r1.66 mips-linux-tdep.c
--- mips-linux-tdep.c	10 Oct 2007 17:04:38 -0000	1.66
+++ mips-linux-tdep.c	13 Dec 2007 19:03:32 -0000
@@ -344,7 +344,7 @@ mips64_fill_gregset (const struct regcac
   struct gdbarch *gdbarch = get_regcache_arch (regcache);
   int regaddr, regi;
   mips64_elf_greg_t *regp = *gregsetp;
-  void *src, *dst;
+  void *dst;
 
   if (regno == -1)
     {




More information about the Gdb-patches mailing list