diff options
author | Tom Tromey <tom@tromey.com> | 2019-06-23 21:00:01 -0600 |
---|---|---|
committer | Tom Tromey <tom@tromey.com> | 2019-07-17 12:18:52 -0600 |
commit | 9ad7fdef7c72b2aca0398ce8e63b89e560873807 (patch) | |
tree | 84ba4c66969d0db89890d40a1209cca4a078abc0 /gprof/flat_bl.m | |
parent | 5813316fa4aeaf52f374c20c7fdb9747b88fa8ca (diff) | |
download | gdb-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/flat_bl.m')
0 files changed, 0 insertions, 0 deletions