fix unused variable

This commit is contained in:
Greg Gauthier 2026-01-26 20:04:52 +00:00
parent e9b45d6e40
commit af0affe662

View File

@ -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;