diff options
author | in2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2002-05-25 00:45:39 +0800 |
---|---|---|
committer | in2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2002-05-25 00:45:39 +0800 |
commit | 582fd88997d5da47d7209d7c6d32e418905fe00b (patch) | |
tree | 349eb8505ed428a095c26f0dca6e187f5a2c9af5 /mbbsd | |
parent | 56d2b12d27a8a9aae90ed53674b07ff21f4ce2d6 (diff) | |
download | pttbbs-582fd88997d5da47d7209d7c6d32e418905fe00b.tar pttbbs-582fd88997d5da47d7209d7c6d32e418905fe00b.tar.gz pttbbs-582fd88997d5da47d7209d7c6d32e418905fe00b.tar.bz2 pttbbs-582fd88997d5da47d7209d7c6d32e418905fe00b.tar.lz pttbbs-582fd88997d5da47d7209d7c6d32e418905fe00b.tar.xz pttbbs-582fd88997d5da47d7209d7c6d32e418905fe00b.tar.zst pttbbs-582fd88997d5da47d7209d7c6d32e418905fe00b.zip |
no warning
git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@199 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd')
-rw-r--r-- | mbbsd/name.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mbbsd/name.c b/mbbsd/name.c index a48c7d32..192ead3d 100644 --- a/mbbsd/name.c +++ b/mbbsd/name.c @@ -1,4 +1,4 @@ -/* $Id: name.c,v 1.5 2002/05/24 16:32:52 in2 Exp $ */ +/* $Id: name.c,v 1.6 2002/05/24 16:45:39 in2 Exp $ */ #include <stdio.h> #include <stdlib.h> #include <string.h> @@ -532,7 +532,7 @@ int generalnamecomplete(char *prompt, char *data, int len, size_t nmemb, int (*compar)(int, char *, int), int (*permission)(int), char* (*getname)(int)) { - int x, y, origx, origy, ch, i, morelist = -1, col, ret; + int x, y, origx, origy, ch, i, morelist = -1, col, ret = -1; int start, end, ptr; int clearbot = NA; |