summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorptt <ptt@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2003-11-15 06:14:25 +0800
committerptt <ptt@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2003-11-15 06:14:25 +0800
commit2e7734b6edf59eba968c8881ca0305c3607dd55c (patch)
treefb60389ddd27d43042e4a679974e14a37e349774
parent1dd51c66faad839bc24fed6a3ec2303eae4d969e (diff)
downloadpttbbs-2e7734b6edf59eba968c8881ca0305c3607dd55c.tar
pttbbs-2e7734b6edf59eba968c8881ca0305c3607dd55c.tar.gz
pttbbs-2e7734b6edf59eba968c8881ca0305c3607dd55c.tar.bz2
pttbbs-2e7734b6edf59eba968c8881ca0305c3607dd55c.tar.lz
pttbbs-2e7734b6edf59eba968c8881ca0305c3607dd55c.tar.xz
pttbbs-2e7734b6edf59eba968c8881ca0305c3607dd55c.tar.zst
pttbbs-2e7734b6edf59eba968c8881ca0305c3607dd55c.zip
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1334 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
-rw-r--r--mbbsd/bbs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mbbsd/bbs.c b/mbbsd/bbs.c
index 44a507bd..e80c8b96 100644
--- a/mbbsd/bbs.c
+++ b/mbbsd/bbs.c
@@ -2319,7 +2319,7 @@ b_help()
static int
b_changerecommend(int ent, fileheader_t * fhdr, char *direct)
{
- boardheader_t *bp;
+ boardheader_t *bp=NULL;
if (!((currmode & MODE_BOARD) || HAS_PERM(PERM_SYSOP)))
bp = getbcache(currbid);
bp->brdattr ^= BRD_NORECOMMEND;