summaryrefslogtreecommitdiffstats
path: root/mbbsd
diff options
context:
space:
mode:
authorin2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2003-02-21 00:18:24 +0800
committerin2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2003-02-21 00:18:24 +0800
commit6799cdf9352ae8995d3fa6d10a1cdcf09f5d648b (patch)
tree8d13c2ec2fea0a1f1a91165407e027d6ffc53c53 /mbbsd
parentbc8f6cabd574ecfeaec6318f4fb13626147bce94 (diff)
downloadpttbbs-6799cdf9352ae8995d3fa6d10a1cdcf09f5d648b.tar
pttbbs-6799cdf9352ae8995d3fa6d10a1cdcf09f5d648b.tar.gz
pttbbs-6799cdf9352ae8995d3fa6d10a1cdcf09f5d648b.tar.bz2
pttbbs-6799cdf9352ae8995d3fa6d10a1cdcf09f5d648b.tar.lz
pttbbs-6799cdf9352ae8995d3fa6d10a1cdcf09f5d648b.tar.xz
pttbbs-6799cdf9352ae8995d3fa6d10a1cdcf09f5d648b.tar.zst
pttbbs-6799cdf9352ae8995d3fa6d10a1cdcf09f5d648b.zip
warning free
git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@670 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd')
-rw-r--r--mbbsd/read.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/mbbsd/read.c b/mbbsd/read.c
index e527cac7..68c253c2 100644
--- a/mbbsd/read.c
+++ b/mbbsd/read.c
@@ -1,4 +1,4 @@
-/* $Id: read.c,v 1.19 2003/02/11 15:30:15 victor Exp $ */
+/* $Id: read.c,v 1.20 2003/02/20 16:18:24 in2 Exp $ */
#include "bbs.h"
static fileheader_t *headers = NULL;
@@ -447,7 +447,7 @@ mail_forward(fileheader_t * fhdr, char *direct, int mode)
static int
select_read(keeploc_t * locmem, int sr_mode)
{
- register char *tag, *query, *temp;
+ char *tag, *query = NULL, *temp;
fileheader_t fh;
char fpath[80], genbuf[MAXPATHLEN], buf3[5];
static char t_ans[TTLEN + 1] = "";