From ac61497ab12220a3790c805a7f968d559d33721d Mon Sep 17 00:00:00 2001 From: piaip Date: Thu, 7 Jul 2005 03:34:43 +0000 Subject: pmore: to make gcc4 happy with signed/unsigned issue bbs: eliminate warnings git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2915 63ad8ddf-47c3-0310-b6dd-a9e9d9715204 --- mbbsd/bbs.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'mbbsd/bbs.c') diff --git a/mbbsd/bbs.c b/mbbsd/bbs.c index bc5bb455..09fa49d1 100644 --- a/mbbsd/bbs.c +++ b/mbbsd/bbs.c @@ -1740,6 +1740,7 @@ recommend(int ent, fileheader_t * fhdr, const char *direct) { struct tm *ptime = localtime4(&now); char buf[200], msg[53]; +#ifndef OLDRECOMMEND static const char *ctype[3] = { "推", "噓", "→" }, *ctype_attr[3] = { @@ -1755,6 +1756,7 @@ recommend(int ent, fileheader_t * fhdr, const char *direct) "給它噓聲", "只加註解" }; +#endif int type, maxlength; boardheader_t *bp; static time4_t lastrecommend = 0; -- cgit v1.2.3