summaryrefslogtreecommitdiff
path: root/src/map/tmw.c
diff options
context:
space:
mode:
authorMadCamel <madcamel@gmail.com>2009-05-13 15:41:18 -0400
committerJared Adams <jaxad0127@gmail.com>2009-05-13 17:57:15 -0600
commit94a8a08118ecd9e358d794d430945ada248d0959 (patch)
tree4ef4f5c15758229585f6003e20b0123c4e7fb883 /src/map/tmw.c
parentabb8b0a2cd5577cce954f638dca5fa3f371391fb (diff)
downloadtmwa-94a8a08118ecd9e358d794d430945ada248d0959.tar.gz
tmwa-94a8a08118ecd9e358d794d430945ada248d0959.tar.bz2
tmwa-94a8a08118ecd9e358d794d430945ada248d0959.tar.xz
tmwa-94a8a08118ecd9e358d794d430945ada248d0959.zip
Fixed all compiler warnings and several small bugs in the process
Diffstat (limited to 'src/map/tmw.c')
-rw-r--r--src/map/tmw.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/map/tmw.c b/src/map/tmw.c
index 6a2df32..ba02189 100644
--- a/src/map/tmw.c
+++ b/src/map/tmw.c
@@ -106,8 +106,6 @@ void tmw_GmHackMsg(const char *fmt, ...) {
char buf[512];
va_list ap;
- buf[512] = 0;
-
va_start(ap, fmt);
vsnprintf(buf, 511, fmt, ap);
va_end(ap);