mirror of
https://github.com/paxed/dgamelaunch.git
synced 2025-04-08 17:06:19 +02:00
Remove C++ variable declaration after statement.
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@217 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
This commit is contained in:
parent
38503b374a
commit
142b5d434e
@ -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)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user