]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit - sim/rx/ChangeLog
sim/rx: move some variable declarations to the start of the block
authorAndrew Burgess <andrew.burgess@embecosm.com>
Mon, 1 Feb 2021 11:16:29 +0000 (11:16 +0000)
committerAndrew Burgess <andrew.burgess@embecosm.com>
Mon, 8 Feb 2021 11:01:07 +0000 (11:01 +0000)
commit783a7b12d3463ebbc25c6c2c1006b6363ec538e3
tree5dcb999463ae58917f3c801762f1328f59352683
parentb9fe995797542ac6a2bd05c1864eeb53dbfdebf7
sim/rx: move some variable declarations to the start of the block

For sim code variables still need to be declared at the start of the
enclosing block.  This silences a few GCC warnings.

sim/rx/ChangeLog:

* syscalls.c (rx_syscall): Move declaration of some variables to
the start of the enclosing block.
* trace.c (load_file_and_line): Likewise.
sim/rx/ChangeLog
sim/rx/syscalls.c
sim/rx/trace.c