* arch-utils.c (gdbarch_from_bfd): Remove unnecessary {old,new}_gdbarch
variables.
This commit is contained in:
parent
ca75ed2d8f
commit
f642be6b2e
2 changed files with 5 additions and 2 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue