X-Git-Url: http://ncurses.scripts.mit.edu/?p=ncurses.git;a=blobdiff_plain;f=test%2Fworm.c;h=8cac9e223c90132a29bded4c1c20dd1595dc6b16;hp=e91637baf51afe63a117dc9de0d745fe0f8b00f4;hb=8d8a3537cd58af7879c6e1921235daeed2b74926;hpb=0237f10a296593d54fd8b2aa144921983085e002 diff --git a/test/worm.c b/test/worm.c index e91637ba..8cac9e22 100644 --- a/test/worm.c +++ b/test/worm.c @@ -52,7 +52,7 @@ traces will be dumped. The program stops and waits for one character of input at the beginning and end of the interval. - $Id: worm.c,v 1.77 2018/05/20 19:55:42 tom Exp $ + $Id: worm.c,v 1.79 2018/07/21 21:40:00 tom Exp $ */ #include @@ -401,11 +401,12 @@ get_input(void) #ifdef KEY_RESIZE static int -update_refs(WINDOW *win, void *data GCC_UNUSED) +update_refs(WINDOW *win, void *data) { int x, y; (void) win; + (void) data; if (last_x != COLS - 1) { for (y = 0; y <= last_y; y++) { refs[y] = typeRealloc(int, (size_t) COLS, refs[y]);