aboutsummaryrefslogtreecommitdiff
path: root/gprof/source.c
diff options
context:
space:
mode:
authorTom Tromey <tom@tromey.com>2019-06-23 21:00:01 -0600
committerTom Tromey <tom@tromey.com>2019-07-17 12:18:52 -0600
commit9ad7fdef7c72b2aca0398ce8e63b89e560873807 (patch)
tree84ba4c66969d0db89890d40a1209cca4a078abc0 /gprof/source.c
parent5813316fa4aeaf52f374c20c7fdb9747b88fa8ca (diff)
downloadgdb-9ad7fdef7c72b2aca0398ce8e63b89e560873807.zip
gdb-9ad7fdef7c72b2aca0398ce8e63b89e560873807.tar.gz
gdb-9ad7fdef7c72b2aca0398ce8e63b89e560873807.tar.bz2
Consolidate "if"s in tui_show_frame_info
tui_show_frame_info has two parallel "if"s with the same condition and no intervening code. The second "if" perhaps wasn't obviously identical, but earlier refactorings made it clearer, by pointing out that only source and disassembly windows can be handled here. This merges the two statements. gdb/ChangeLog 2019-07-17 Tom Tromey <tom@tromey.com> * tui/tui-stack.c (tui_show_frame_info): Consolidate "if"s.
Diffstat (limited to 'gprof/source.c')
0 files changed, 0 insertions, 0 deletions