]> skyeroc.xyz Git - dgamelaunch/commitdiff
Remove C++ variable declaration after statement.
authorJilles Tjoelker <jilles@stack.nl>
Mon, 2 Feb 2004 20:51:37 +0000 (20:51 +0000)
committerJilles Tjoelker <jilles@stack.nl>
Mon, 2 Feb 2004 20:51:37 +0000 (20:51 +0000)
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@217 db0b04b0-f4d1-0310-9a6d-de3e77497b0e

ttyplay.c

index c3a4cf3c2afc08c2dcc86da7db20c3ca238682ce..29a7b20ceb2019ebc85502f9b32033794d425429 100644 (file)
--- a/ttyplay.c
+++ b/ttyplay.c
@@ -161,6 +161,7 @@ ttypread (FILE * fp, Header * h, char **buf, int pread)
   int counter = 0;
   fd_set readfs;
   struct timeval zerotime;
+  static int stripped = NO_GRAPHICS;
 
   zerotime.tv_sec = 0;
   zerotime.tv_usec = 0;
@@ -188,7 +189,6 @@ ttypread (FILE * fp, Header * h, char **buf, int pread)
         {                       /* a user hits a character? */
           char c;
           read (STDIN_FILENO, &c, 1); /* drain the character */
-         static int stripped = NO_GRAPHICS;
 
           switch (c)
             {