]> ncurses.scripts.mit.edu Git - ncurses.git/blobdiff - test/cardfile.c
ncurses 5.6 - patch 20070303
[ncurses.git] / test / cardfile.c
index 318342f0783b4bfbdafe7e5202497e690695a1b5..14b50de0d4aa0749dae779a771f3211a8a53f6e6 100644 (file)
@@ -1,5 +1,5 @@
 /****************************************************************************
- * Copyright (c) 1999-2003,2004 Free Software Foundation, Inc.              *
+ * Copyright (c) 1999-2004,2006 Free Software Foundation, Inc.              *
  *                                                                          *
  * Permission is hereby granted, free of charge, to any person obtaining a  *
  * copy of this software and associated documentation files (the            *
@@ -29,7 +29,7 @@
 /*
  * Author: Thomas E. Dickey
  *
- * $Id: cardfile.c,v 1.27 2004/11/06 19:33:39 tom Exp $
+ * $Id: cardfile.c,v 1.28 2006/12/10 00:30:09 tom Exp $
  *
  * File format: text beginning in column 1 is a title; other text is content.
  */
@@ -389,7 +389,6 @@ cardfile(char *fname)
     int y;
     int x;
     int ch = ERR;
-    int last_ch;
     int finished = FALSE;
 
     show_legend();
@@ -433,7 +432,6 @@ cardfile(char *fname)
        update_panels();
        doupdate();
 
-       last_ch = ch;
        ch = form_virtualize(panel_window(top_card->panel));
        switch (form_driver(top_card->form, ch)) {
        case E_OK: