Remove an unnecessary block in call_function_by_hand_dummy
authorTom Tromey <tom@tromey.com>
Fri, 14 Sep 2018 12:57:05 +0000 (06:57 -0600)
committerTom Tromey <tom@tromey.com>
Fri, 14 Sep 2018 13:11:50 +0000 (07:11 -0600)
commitb4b08fa2aa25f245c77921ad2405c15d30e421ed
treecad0ec90effe59ce27b927f314080800dd9e669f
parentfe75f42ee15944a0d14d3d42b242676fc2417352
Remove an unnecessary block in call_function_by_hand_dummy

I noticed that call_function_by_hand_dummy has a block that only
exists to declare a variable, like:

    {
      int i;
      for (i = ...0)
...
    }

This patch removes the unnecessary and the extra indentation by moving
the declaration into the "for".

gdb/ChangeLog
2018-09-14  Tom Tromey  <tom@tromey.com>

* infcall.c (call_function_by_hand_dummy): Remove unnecessary
block.
gdb/ChangeLog
gdb/infcall.c