diff options
author | Tom Tromey <tom@tromey.com> | 2019-06-30 20:34:57 -0600 |
---|---|---|
committer | Tom Tromey <tom@tromey.com> | 2019-07-17 12:19:15 -0600 |
commit | b7fbad913e8874b9a887eb149b14975343bfb7ab (patch) | |
tree | 5676fa23001bad75258387dbdd1bc55119dff75a /gdb/gdb_regex.h | |
parent | 4e1e56b9818109a39bb1b035fd50dd05a00699f2 (diff) | |
download | gdb-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