diff options
author | piaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2009-08-25 11:30:16 +0800 |
---|---|---|
committer | piaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2009-08-25 11:30:16 +0800 |
commit | a0ed66002a8e4637857bac91eddc8fe9ae933c4b (patch) | |
tree | dbaa2f67e022fff83f0a804dda82336cd2adb604 | |
parent | d0e1cea0bea2d0b292f1a89b8a0aba8d7cee2619 (diff) | |
download | pttbbs-a0ed66002a8e4637857bac91eddc8fe9ae933c4b.tar pttbbs-a0ed66002a8e4637857bac91eddc8fe9ae933c4b.tar.gz pttbbs-a0ed66002a8e4637857bac91eddc8fe9ae933c4b.tar.bz2 pttbbs-a0ed66002a8e4637857bac91eddc8fe9ae933c4b.tar.lz pttbbs-a0ed66002a8e4637857bac91eddc8fe9ae933c4b.tar.xz pttbbs-a0ed66002a8e4637857bac91eddc8fe9ae933c4b.tar.zst pttbbs-a0ed66002a8e4637857bac91eddc8fe9ae933c4b.zip |
* code refine: remove warnings
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4772 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
-rw-r--r-- | mbbsd/bbs.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/mbbsd/bbs.c b/mbbsd/bbs.c index 852ccde3..7829bed9 100644 --- a/mbbsd/bbs.c +++ b/mbbsd/bbs.c @@ -2917,8 +2917,10 @@ del_range(int ent, const fileheader_t *fhdr, const char *direct) static int del_post(int ent, fileheader_t * fhdr, char *direct) { - char genbuf[100], newpath[PATHLEN]; +#ifdef SAFE_ARTICLE_DELETE char reason[PROPER_TITLE_LEN]; +#endif + char genbuf[100], newpath[PATHLEN]; int not_owned, is_anon, tusernum, del_ok = 0; boardheader_t *bp; |