summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpiaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2013-02-20 21:26:52 +0800
committerpiaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2013-02-20 21:26:52 +0800
commit16abc0064c73ed86bf11982e73fd883aea4b2934 (patch)
tree3748e4c8025158bcb6ef3f87bc1e3bd84a3cb123
parent918266d7b8347b18449d01bec69cdc9925393699 (diff)
downloadpttbbs-16abc0064c73ed86bf11982e73fd883aea4b2934.tar
pttbbs-16abc0064c73ed86bf11982e73fd883aea4b2934.tar.gz
pttbbs-16abc0064c73ed86bf11982e73fd883aea4b2934.tar.bz2
pttbbs-16abc0064c73ed86bf11982e73fd883aea4b2934.tar.lz
pttbbs-16abc0064c73ed86bf11982e73fd883aea4b2934.tar.xz
pttbbs-16abc0064c73ed86bf11982e73fd883aea4b2934.tar.zst
pttbbs-16abc0064c73ed86bf11982e73fd883aea4b2934.zip
Remove warning for unused variables.
git-svn-id: http://opensvn.csie.org/pttbbs/trunk@5791 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
-rw-r--r--pttbbs/common/bbs/cache.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/pttbbs/common/bbs/cache.c b/pttbbs/common/bbs/cache.c
index dd153303..dc14c380 100644
--- a/pttbbs/common/bbs/cache.c
+++ b/pttbbs/common/bbs/cache.c
@@ -661,10 +661,6 @@ parseBMlist(const char *input, int uids[MAX_BMs]) {
void
buildBMcache(int bid) /* bid starts from 1 */
{
- char s[IDLEN * 3 + 3], *ptr;
- int i, uid;
- char *strtok_pos;
-
assert(0<=bid-1 && bid-1<MAX_BOARD);
parseBMlist(getbcache(bid)->BM, SHM->BMcache[bid - 1]);
}
@@ -871,8 +867,6 @@ reload_fcache(void)
if (SHM->Fbusystate)
safe_sleep(1);
else {
- FILE *fp;
-
SHM->Fbusystate = 1;
SHM->max_user = 0;