diff options
author | Haru <haru@dotalux.com> | 2018-02-07 03:56:01 +0100 |
---|---|---|
committer | Haru <haru@dotalux.com> | 2018-02-10 01:23:15 +0100 |
commit | ba28b56a6b3180c7d13c196ecb44fddd3d63a4f6 (patch) | |
tree | f049fca67c4490950a86de3d3675384b3f142f57 /src/map/clan.c | |
parent | 6f85e399942facc69555d078c82588f95b198711 (diff) | |
download | hercules-ba28b56a6b3180c7d13c196ecb44fddd3d63a4f6.tar.gz hercules-ba28b56a6b3180c7d13c196ecb44fddd3d63a4f6.tar.bz2 hercules-ba28b56a6b3180c7d13c196ecb44fddd3d63a4f6.tar.xz hercules-ba28b56a6b3180c7d13c196ecb44fddd3d63a4f6.zip |
Fix some minor issues in the clan system, as reported by coverity
Signed-off-by: Haru <haru@dotalux.com>
Diffstat (limited to 'src/map/clan.c')
-rw-r--r-- | src/map/clan.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/clan.c b/src/map/clan.c index 6855e449d..2c12df492 100644 --- a/src/map/clan.c +++ b/src/map/clan.c @@ -523,7 +523,7 @@ int clan_inactivity_kick(int tid, int64 tick, int id, intptr_t data) if ((c = clan->search(id)) != NULL) { if (!c->kick_time || c->tid != tid || tid == INVALID_TIMER || c->tid == INVALID_TIMER) { ShowError("Timer Mismatch (Time: %d seconds) %d != %d", c->kick_time, c->tid, tid); - Assert_retr(0, 0); + Assert_report(0); return 0; } for (i = 0; i < VECTOR_LENGTH(c->members); i++) { |