diff options
author | shennetsind <ind@henn.et> | 2013-07-09 20:19:32 -0300 |
---|---|---|
committer | shennetsind <ind@henn.et> | 2013-07-09 20:19:32 -0300 |
commit | b08910e828bd6f2029f2434572d8f84b30eb7d9c (patch) | |
tree | 28932ba60514fd0483aa5d88e0fa8a43200cac3c /src/common/core.c | |
parent | 55d42874dcf24c466f0104123d9efe280c0fd03c (diff) | |
download | hercules-b08910e828bd6f2029f2434572d8f84b30eb7d9c.tar.gz hercules-b08910e828bd6f2029f2434572d8f84b30eb7d9c.tar.bz2 hercules-b08910e828bd6f2029f2434572d8f84b30eb7d9c.tar.xz hercules-b08910e828bd6f2029f2434572d8f84b30eb7d9c.zip |
Travis Report Fixes
warn_unused_result shielding, dropped unused variables and fixed battle_calc_return_damage delay behavior (pointer was unchaged; resulting in the var afterwards always as 0)
Special Thanks to Xgear.
Signed-off-by: shennetsind <ind@henn.et>
Diffstat (limited to 'src/common/core.c')
-rw-r--r-- | src/common/core.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/common/core.c b/src/common/core.c index d2f662551..1e5179448 100644 --- a/src/common/core.c +++ b/src/common/core.c @@ -150,11 +150,6 @@ void signals_init (void) { } #endif -#ifdef SVNVERSION -const char *get_svn_revision(void) { - return EXPAND_AND_QUOTE(SVNVERSION); -} -#else// not SVNVERSION const char* get_svn_revision(void) { static char svn_version_buffer[16] = ""; FILE *fp; @@ -241,7 +236,6 @@ const char* get_svn_revision(void) { svn_version_buffer[0] = HERC_UNKNOWN_VER; return svn_version_buffer; } -#endif /* whats our origin */ #define GIT_ORIGIN "refs/remotes/origin/master" /* Grabs the hash from the last time the user updated his working copy (last pull) */ |