]> ncurses.scripts.mit.edu Git - ncurses.git/blobdiff - test/test_opaque.c
ncurses 5.6 - patch 20080705
[ncurses.git] / test / test_opaque.c
index 3e5fafa8d9f2592bab2d1f3f1848c0a39103d050..f1ab78cf1fa62107bf0905e9b414971c7ab8c547 100644 (file)
@@ -26,7 +26,7 @@
  * authorization.                                                           *
  ****************************************************************************/
 /*
- * $Id: test_opaque.c,v 1.6 2008/04/05 18:03:57 tom Exp $
+ * $Id: test_opaque.c,v 1.7 2008/07/05 23:18:40 tom Exp $
  *
  * Author: Thomas E Dickey
  *
@@ -406,7 +406,6 @@ test_set_tabsize(void)
     int y0, x0;
     int y, x;
     int save_tabsize = TABSIZE;
-    bool done = FALSE;
 
     (void) cbreak();           /* take input chars one at a time, no wait for \n */
     (void) noecho();           /* don't echo input */
@@ -418,12 +417,10 @@ test_set_tabsize(void)
        for (x = 0; x < COLS;) {
            addch('\t');
            if (addch('*') == ERR) {
-               done = TRUE;
                break;
            }
            getyx(stdscr, y0, x0);
            if (y0 != y || x0 == x) {
-               done = TRUE;
                break;
            }
        }