aboutsummaryrefslogtreecommitdiff
path: root/gdb/python/py-frame.c
diff options
context:
space:
mode:
authorTom Tromey <tom@tromey.com>2018-04-22 10:11:32 -0600
committerTom Tromey <tom@tromey.com>2018-10-04 22:51:48 -0600
commitb8c888478d517a39d8b0104857d573e47620a3d1 (patch)
treebe75f35669f6b19fecf4c74e9a39d8e607d48e8b /gdb/python/py-frame.c
parentef789dc484a35159ad825c98c4a2502f2097aed7 (diff)
downloadbinutils-b8c888478d517a39d8b0104857d573e47620a3d1.zip
binutils-b8c888478d517a39d8b0104857d573e47620a3d1.tar.gz
binutils-b8c888478d517a39d8b0104857d573e47620a3d1.tar.bz2
Avoid shadowing in fdwalk
-Wshadow=local caught this buglet. fdwalk redeclares "result" in the inner scope, meaning that this function will always return 0, even on error. gdb/ChangeLog 2018-10-04 Tom Tromey <tom@tromey.com> * common/filestuff.c (fdwalk): Remove inner declaration of "result".
Diffstat (limited to 'gdb/python/py-frame.c')
0 files changed, 0 insertions, 0 deletions