summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYorhel <git@yorhel.nl>2015-09-20 07:53:05 +0200
committerYorhel <git@yorhel.nl>2015-09-20 07:53:05 +0200
commit078369b8c5500d614a8e640a2cb5a54ef3c585ef (patch)
treebdaab34788ef08b313de90113c4ee8dfb32126e0
parente96cc36d568a91f0fc36612d77dac60d58597648 (diff)
quit.c: Remove two unused variables
-rw-r--r--src/quit.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/quit.c b/src/quit.c
index 6594ded..8a0d9d3 100644
--- a/src/quit.c
+++ b/src/quit.c
@@ -27,14 +27,11 @@
#include <ncurses.h>
-/* extern? */ int page, start;
-
int quit_key(int ch) {
switch(ch) {
case 'y':
case 'Y':
return 1;
- break;
default:
pstate = ST_BROWSE;
}
@@ -49,7 +46,5 @@ void quit_draw() {
}
void quit_init() {
- page = 1;
- start = 0;
pstate = ST_QUIT;
}