mirror of
https://code.blicky.net/yorhel/ncdu.git
synced 2026-01-13 01:08:41 -09:00
quit.c: Remove two unused variables
This commit is contained in:
parent
e96cc36d56
commit
078369b8c5
1 changed files with 0 additions and 5 deletions
|
|
@ -27,14 +27,11 @@
|
||||||
|
|
||||||
#include <ncurses.h>
|
#include <ncurses.h>
|
||||||
|
|
||||||
/* extern? */ int page, start;
|
|
||||||
|
|
||||||
int quit_key(int ch) {
|
int quit_key(int ch) {
|
||||||
switch(ch) {
|
switch(ch) {
|
||||||
case 'y':
|
case 'y':
|
||||||
case 'Y':
|
case 'Y':
|
||||||
return 1;
|
return 1;
|
||||||
break;
|
|
||||||
default:
|
default:
|
||||||
pstate = ST_BROWSE;
|
pstate = ST_BROWSE;
|
||||||
}
|
}
|
||||||
|
|
@ -49,7 +46,5 @@ void quit_draw() {
|
||||||
}
|
}
|
||||||
|
|
||||||
void quit_init() {
|
void quit_init() {
|
||||||
page = 1;
|
|
||||||
start = 0;
|
|
||||||
pstate = ST_QUIT;
|
pstate = ST_QUIT;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue