summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorwens <wens@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2011-01-08 13:28:56 +0800
committerwens <wens@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2011-01-08 13:28:56 +0800
commitf32cfe18a8a9a888478f922732ffd0a0437efaff (patch)
tree132deb8bc0fdbd96d9c68446c16c69264b0e7e52
parent88f6a9f326ecbadd1b7d4455edf63b53c7444d43 (diff)
downloadpttbbs-f32cfe18a8a9a888478f922732ffd0a0437efaff.tar
pttbbs-f32cfe18a8a9a888478f922732ffd0a0437efaff.tar.gz
pttbbs-f32cfe18a8a9a888478f922732ffd0a0437efaff.tar.bz2
pttbbs-f32cfe18a8a9a888478f922732ffd0a0437efaff.tar.lz
pttbbs-f32cfe18a8a9a888478f922732ffd0a0437efaff.tar.xz
pttbbs-f32cfe18a8a9a888478f922732ffd0a0437efaff.tar.zst
pttbbs-f32cfe18a8a9a888478f922732ffd0a0437efaff.zip
Don't need the memset here
git-svn-id: http://opensvn.csie.org/pttbbs/trunk@5290 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
-rw-r--r--pttbbs/mbbsd/vote.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/pttbbs/mbbsd/vote.c b/pttbbs/mbbsd/vote.c
index dd72ef38..9c8016d5 100644
--- a/pttbbs/mbbsd/vote.c
+++ b/pttbbs/mbbsd/vote.c
@@ -137,7 +137,6 @@ vote_report(const char *bname, const char *post_bname, const char *fname)
setbpath(buf, post_bname);
stampfile(buf, &header);
- memset(&header, 0, sizeof(fileheader_t));
strlcpy(header.owner, "[馬路探子]", sizeof(header.owner));
snprintf(header.title, sizeof(header.title), "[%s] 看板 選情報導", bname);