aboutsummaryrefslogtreecommitdiff
path: root/gdb/gdb_regex.h
diff options
context:
space:
mode:
authorTom Tromey <tom@tromey.com>2019-06-30 20:34:57 -0600
committerTom Tromey <tom@tromey.com>2019-07-17 12:19:15 -0600
commitb7fbad913e8874b9a887eb149b14975343bfb7ab (patch)
tree5676fa23001bad75258387dbdd1bc55119dff75a /gdb/gdb_regex.h
parent4e1e56b9818109a39bb1b035fd50dd05a00699f2 (diff)
downloadgdb-b7fbad913e8874b9a887eb149b14975343bfb7ab.zip
gdb-b7fbad913e8874b9a887eb149b14975343bfb7ab.tar.gz
gdb-b7fbad913e8874b9a887eb149b14975343bfb7ab.tar.bz2
Change tui_set_layout to return void
tui_set_layout can't meaningfully be called with UNDEFINED_LAYOUT; and instead of trying to handle this case, simply assert and have the function return void. No caller was checking the return value anyway. gdb/ChangeLog 2019-07-17 Tom Tromey <tom@tromey.com> * tui/tui-layout.h (tui/tui-layout): Return void. * tui/tui-layout.c (tui_set_layout): Return void. Add assert.
Diffstat (limited to 'gdb/gdb_regex.h')
0 files changed, 0 insertions, 0 deletions