Move local variables to inner block
authorYao Qi <yao@codesourcery.com>
Tue, 24 Jun 2014 13:47:14 +0000 (21:47 +0800)
committerYao Qi <yao@codesourcery.com>
Thu, 26 Jun 2014 08:26:01 +0000 (16:26 +0800)
commitefc889c1a86826b6619485bf379467daaea1ad3e
treeaee4291a6b9aceff16d036733b4865f2c081af47
parent60d77146a249ae9b51d7ce98930cdbedb2cfa352
Move local variables to inner block

dummy_frame_sniffer has two local variables dummyframe and this_id,
but they are only used in the if block below.  This patch is to move
them into the inner block.

gdb:

2014-06-26  Yao Qi  <yao@codesourcery.com>

* dummy-frame.c (dummy_frame_sniffer): Move local variables
dummyframe and this_id into inner block below.
gdb/ChangeLog
gdb/dummy-frame.c