X-Git-Url: https://ncurses.scripts.mit.edu/?p=ncurses.git;a=blobdiff_plain;f=test%2Fncurses.c;h=d5b5a63fac021f36a8c2a1bba6c395b99c148eaf;hp=ea5f5f867dc4079ca421e154f989f1fa42f1f570;hb=7ca9d1eb1a8a995514d4dee312bf136fba88ec62;hpb=bd257b9d8d715a9a63dab215fcdc53f106e7d050 diff --git a/test/ncurses.c b/test/ncurses.c index ea5f5f86..d5b5a63f 100644 --- a/test/ncurses.c +++ b/test/ncurses.c @@ -40,7 +40,7 @@ AUTHOR Author: Eric S. Raymond 1993 Thomas E. Dickey (beginning revision 1.27 in 1996). -$Id: ncurses.c,v 1.369 2011/08/20 15:49:08 tom Exp $ +$Id: ncurses.c,v 1.370 2011/09/17 21:57:49 tom Exp $ ***************************************************************************/ @@ -3360,6 +3360,7 @@ show_upper_widechars(int first, int repeat, int space, attr_t attr, short pair) * The repeat-count may make text wrap - avoid that. */ getyx(stdscr, y, x); + (void) y; if (x >= col + (COLS / 2) - 2) break; } while (--count > 0);