Both 'c' an 'lines' are unused, the bogus init of lines was accidentally
left behind.
This commit is contained in:
parent
884962ae4e
commit
80c09f69b0
@ -267,10 +267,9 @@ static int db_mach_vtrace(void);
|
|||||||
|
|
||||||
DB_SHOW_COMMAND(ktr, db_ktr_all)
|
DB_SHOW_COMMAND(ktr, db_ktr_all)
|
||||||
{
|
{
|
||||||
int lines, quit;
|
int quit;
|
||||||
|
|
||||||
quit = 0;
|
quit = 0;
|
||||||
lines = NUM_LINES_PER_PAGE;
|
|
||||||
tstate.cur = (ktr_idx - 1) & (KTR_ENTRIES - 1);
|
tstate.cur = (ktr_idx - 1) & (KTR_ENTRIES - 1);
|
||||||
tstate.first = -1;
|
tstate.first = -1;
|
||||||
if (strcmp(modif, "v") == 0)
|
if (strcmp(modif, "v") == 0)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user