Use RAII to save and restore scalars
[deliverable/binutils-gdb.git] / gdb / hppaobsd-tdep.c
index 1f5278d5ae3495d7a11bdab507d8942d25dfa30b..ad914e17f351a8babc3ff4af71683488a3eff8bd 100644 (file)
@@ -1,6 +1,6 @@
 /* Target-dependent code for OpenBSD/hppa
 
-   Copyright (C) 2004-2015 Free Software Foundation, Inc.
+   Copyright (C) 2004-2016 Free Software Foundation, Inc.
 
    This file is part of GDB.
 
@@ -113,7 +113,6 @@ hppaobsd_supply_fpregset (const struct regset *regset,
                          struct regcache *regcache,
                          int regnum, const void *fpregs, size_t len)
 {
-  struct gdbarch *gdbarch = get_regcache_arch (regcache);
   const gdb_byte *regs = (const gdb_byte *) fpregs;
   int i;
 
This page took 0.025473 seconds and 4 git commands to generate.