quiet another warning that recently appeared

../win/curses/cursinit.c:102:9: warning: variable 'min_message_height' set but not used [-Wunused-but-set-variable]
    int min_message_height = 1;
        ^
1 warning generated.
This commit is contained in:
nhmall
2022-11-24 00:49:51 -05:00
parent 6ab7cafb25
commit ddf1dfde29

View File

@@ -99,7 +99,7 @@ set_window_position(int *winx, int *winy, int *winw, int *winh,
void
curses_create_main_windows(void)
{
int min_message_height = 1;
int min_message_height UNUSED = 1;
int message_orientation = 0;
int status_orientation = 0;
int border_space = 0;