aboutsummaryrefslogtreecommitdiff
path: root/gdb/tui/tui-wingeneral.c
diff options
context:
space:
mode:
authorTom Tromey <tom@tromey.com>2019-06-16 14:14:10 -0600
committerTom Tromey <tom@tromey.com>2019-06-25 07:48:32 -0600
commit6a0ee02c22b78b6d49fda99b6f2f9154d0cb0a47 (patch)
treed8274a31daa2b0395ac13a5337eea4e57a7cfe6e /gdb/tui/tui-wingeneral.c
parent63901aeccf923abaca02c8a58b1141d3859d7247 (diff)
downloadgdb-6a0ee02c22b78b6d49fda99b6f2f9154d0cb0a47.zip
gdb-6a0ee02c22b78b6d49fda99b6f2f9154d0cb0a47.tar.gz
gdb-6a0ee02c22b78b6d49fda99b6f2f9154d0cb0a47.tar.bz2
Remove an unneeded NULL check
show_source_or_disasm_and_command will either create or reset the source window, so the final NULL check is not necessary. This patch removes it. gdb/ChangeLog 2019-06-25 Tom Tromey <tom@tromey.com> * tui/tui-layout.c (show_source_or_disasm_and_command): Remove NULL check.
Diffstat (limited to 'gdb/tui/tui-wingeneral.c')
0 files changed, 0 insertions, 0 deletions