summaryrefslogtreecommitdiff
path: root/src/common/core.c
diff options
context:
space:
mode:
authortoms <toms@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-09-19 13:35:33 +0000
committertoms <toms@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-09-19 13:35:33 +0000
commitc41360ba01534eb4864aee95eb1adce8c9606c95 (patch)
tree5738155c7747b503838960d8737dd51357f4937a /src/common/core.c
parent9dc56236f063180abd3d8af2627eb51db5b6a273 (diff)
downloadhercules-c41360ba01534eb4864aee95eb1adce8c9606c95.tar.gz
hercules-c41360ba01534eb4864aee95eb1adce8c9606c95.tar.bz2
hercules-c41360ba01534eb4864aee95eb1adce8c9606c95.tar.xz
hercules-c41360ba01534eb4864aee95eb1adce8c9606c95.zip
Fixed some gcc4 warnings (oops ^^)
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8809 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/common/core.c')
-rw-r--r--src/common/core.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/common/core.c b/src/common/core.c
index 84afef003..ad5467b86 100644
--- a/src/common/core.c
+++ b/src/common/core.c
@@ -233,7 +233,9 @@ int main (int argc, char **argv)
SERVER_NAME = ++p;
arg_c = argc;
arg_v = argv;
- *eA_svn_version = '\0';
+ #ifndef SVNVERSION
+ *eA_svn_version = '\0';
+ #endif
}
set_server_type();