summaryrefslogtreecommitdiff
path: root/src/map/chrif.c
diff options
context:
space:
mode:
authorHaru <haru@dotalux.com>2018-06-29 06:32:55 +0200
committerHaru <haru@dotalux.com>2018-07-01 21:09:26 +0200
commita6292d5eaf34e39ce8dcb7c8a260cc1772eb536c (patch)
tree5ba4fbd5fcfe667a26101fa3e72e0e5529a6c336 /src/map/chrif.c
parenta675e06c38ec4e31a2758435a582b58a2199cfc4 (diff)
downloadhercules-a6292d5eaf34e39ce8dcb7c8a260cc1772eb536c.tar.gz
hercules-a6292d5eaf34e39ce8dcb7c8a260cc1772eb536c.tar.bz2
hercules-a6292d5eaf34e39ce8dcb7c8a260cc1772eb536c.tar.xz
hercules-a6292d5eaf34e39ce8dcb7c8a260cc1772eb536c.zip
Fix some warnings caused by static functions defined and unused
Signed-off-by: Haru <haru@dotalux.com>
Diffstat (limited to 'src/map/chrif.c')
-rw-r--r--src/map/chrif.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/map/chrif.c b/src/map/chrif.c
index e6fb9b0a8..2aa76ca2d 100644
--- a/src/map/chrif.c
+++ b/src/map/chrif.c
@@ -109,6 +109,7 @@ struct chrif_interface *chrif;
//This define should spare writing the check in every function. [Skotlex]
#define chrif_check(a) do { if(!chrif->isconnected()) return a; } while(0)
+#if 0 // Unused
/// Resets all the data.
static void chrif_reset(void) __attribute__ ((noreturn));
static void chrif_reset(void)
@@ -116,6 +117,7 @@ static void chrif_reset(void)
// TODO kick everyone out and reset everything [FlavioJS]
exit(EXIT_FAILURE);
}
+#endif // 0
/// Checks the conditions for the server to stop.
/// Releases the cookie when all characters are saved.