Skip to content
Snippets Groups Projects
Commit 078369b8 authored by Yorhel's avatar Yorhel
Browse files

quit.c: Remove two unused variables

parent e96cc36d
No related branches found
No related tags found
No related merge requests found
...@@ -27,14 +27,11 @@ ...@@ -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() { ...@@ -49,7 +46,5 @@ void quit_draw() {
} }
void quit_init() { void quit_init() {
page = 1;
start = 0;
pstate = ST_QUIT; pstate = ST_QUIT;
} }
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment