fix unused variable
This commit is contained in:
parent
e9b45d6e40
commit
af0affe662
@ -60,7 +60,7 @@ int main_game_loop(int argc, char *argv[]) {
|
||||
char difficulty[32];
|
||||
char message[MAX_MESSAGE] = "";
|
||||
int message_color = COLOR_DEFAULT;
|
||||
int height, width, y_pos;
|
||||
int height, y_pos;
|
||||
int key;
|
||||
char temp_guess[WORD_LENGTH + 1];
|
||||
char win_message[MAX_MESSAGE];
|
||||
@ -103,7 +103,7 @@ int main_game_loop(int argc, char *argv[]) {
|
||||
/* Main game loop */
|
||||
while (1) {
|
||||
clear();
|
||||
getmaxyx(stdscr, height, width);
|
||||
getmaxyx(stdscr, height, y_pos);
|
||||
|
||||
y_pos = 1;
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user