summaryrefslogtreecommitdiffstats
path: root/mbbsd/io.c
diff options
context:
space:
mode:
authorin2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2004-04-25 17:58:02 +0800
committerin2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2004-04-25 17:58:02 +0800
commit8cb2775bb364a740a107fe74cc39d723fd63babc (patch)
treeb2b17c0b0a9952c6c8afff6277d51ee952687901 /mbbsd/io.c
parent37ca2e52ffe3986eb4cf57fb825926426a753245 (diff)
downloadpttbbs-8cb2775bb364a740a107fe74cc39d723fd63babc.tar
pttbbs-8cb2775bb364a740a107fe74cc39d723fd63babc.tar.gz
pttbbs-8cb2775bb364a740a107fe74cc39d723fd63babc.tar.bz2
pttbbs-8cb2775bb364a740a107fe74cc39d723fd63babc.tar.lz
pttbbs-8cb2775bb364a740a107fe74cc39d723fd63babc.tar.xz
pttbbs-8cb2775bb364a740a107fe74cc39d723fd63babc.tar.zst
pttbbs-8cb2775bb364a740a107fe74cc39d723fd63babc.zip
warning free
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1850 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd/io.c')
-rw-r--r--mbbsd/io.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mbbsd/io.c b/mbbsd/io.c
index 21a8045b..78adddda 100644
--- a/mbbsd/io.c
+++ b/mbbsd/io.c
@@ -199,7 +199,7 @@ static int water_which_flag = 0;
int
igetch()
{
- register int ch, mode =0, last;
+ register int ch, mode = 0, last = 0;
while ((ch = dogetch())) {
if (mode == 0 && ch == KEY_ESC) // here is state machine for 2 bytes key
mode = 1;