]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
Remove redundant check from tui_refresh_frame_and_register_information
authorTom Tromey <tom@tromey.com>
Sun, 17 Dec 2023 19:15:00 +0000 (12:15 -0700)
committerTom Tromey <tom@tromey.com>
Thu, 8 Feb 2024 19:16:07 +0000 (12:16 -0700)
commita6a25f5e2664872f2c3de707fffcb1669b03aeb1
tree2eaf3f44c5593bbbfc3cd83fde51ff4c177b2d45
parentb08b7a15590b6a0a9144a9709a1423c502de6216
Remove redundant check from tui_refresh_frame_and_register_information

tui_refresh_frame_and_register_information checks 'from_stack' in a
block that's already guarded by a 'from_stack' check.  This patch
removes the redundant check.

Tested-By: Tom de Vries <tdevries@suse.de>
Reviewed-By: Andrew Burgess <aburgess@redhat.com>
Approved-By: Andrew Burgess <aburgess@redhat.com>
gdb/tui/tui-hooks.c