From 142b5d434e0c1cc10b83a9818955e700650a4521 Mon Sep 17 00:00:00 2001 From: Jilles Tjoelker Date: Mon, 2 Feb 2004 20:51:37 +0000 Subject: [PATCH] Remove C++ variable declaration after statement. git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@217 db0b04b0-f4d1-0310-9a6d-de3e77497b0e --- ttyplay.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ttyplay.c b/ttyplay.c index c3a4cf3..29a7b20 100644 --- 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) { -- 2.47.3