diff --git a/gdb/ChangeLog b/gdb/ChangeLog index adcae26ebc..ba94183b15 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2008-02-18 Markus Deuling + + * arch-utils.c (gdbarch_from_bfd): Remove unnecessary {old,new}_gdbarch + variables. + 2008-02-15 Markus Deuling * mips-linux-tdep.c (mips_linux_init_abi): Remove internal error. diff --git a/gdb/arch-utils.c b/gdb/arch-utils.c index 92724ecce2..2c8b34b4ac 100644 --- a/gdb/arch-utils.c +++ b/gdb/arch-utils.c @@ -454,8 +454,6 @@ gdbarch_update_p (struct gdbarch_info info) struct gdbarch * gdbarch_from_bfd (bfd *abfd) { - struct gdbarch *old_gdbarch = current_gdbarch; - struct gdbarch *new_gdbarch; struct gdbarch_info info; /* If we call gdbarch_find_by_info without filling in info.abfd,