Use boolean literals for pagination_enabled
I noticed a couple of spots that used '0' rather than 'false' when modifying pagination_enabled. This patch cleans these up.
This commit is contained in:
parent
03acd4d854
commit
2f6831b806
2 changed files with 2 additions and 2 deletions
|
@ -259,7 +259,7 @@ set_observer_mode (const char *args, int from_tty,
|
||||||
going out we leave it that way. */
|
going out we leave it that way. */
|
||||||
if (observer_mode)
|
if (observer_mode)
|
||||||
{
|
{
|
||||||
pagination_enabled = 0;
|
pagination_enabled = false;
|
||||||
non_stop = non_stop_1 = true;
|
non_stop = non_stop_1 = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -93,7 +93,7 @@ tui_register_format (frame_info_ptr frame, int regnum)
|
||||||
tab_expansion_file stream;
|
tab_expansion_file stream;
|
||||||
|
|
||||||
scoped_restore save_pagination
|
scoped_restore save_pagination
|
||||||
= make_scoped_restore (&pagination_enabled, 0);
|
= make_scoped_restore (&pagination_enabled, false);
|
||||||
scoped_restore save_stdout
|
scoped_restore save_stdout
|
||||||
= make_scoped_restore (&gdb_stdout, &stream);
|
= make_scoped_restore (&gdb_stdout, &stream);
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue