summaryrefslogtreecommitdiff
path: root/src/common/timer.c
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-10-07 02:40:56 +0300
committerGitHub <noreply@github.com>2016-10-07 02:40:56 +0300
commit90ec4a40d04100d0c7d1d5e1f80c12742e8883d3 (patch)
treea1234320efa4f33b6c6f18f9b197be7aabdd7415 /src/common/timer.c
parent336c264a324d708a3b5a72c1c086b74dc76c1b0f (diff)
parent872fc8d4f4a8ea60a1d97da4ca724c7b70e1af18 (diff)
downloadhercules-90ec4a40d04100d0c7d1d5e1f80c12742e8883d3.tar.gz
hercules-90ec4a40d04100d0c7d1d5e1f80c12742e8883d3.tar.bz2
hercules-90ec4a40d04100d0c7d1d5e1f80c12742e8883d3.tar.xz
hercules-90ec4a40d04100d0c7d1d5e1f80c12742e8883d3.zip
Merge pull request #1464 from MishimaHaruna/variousfixes
Build / CI improvements
Diffstat (limited to 'src/common/timer.c')
-rw-r--r--src/common/timer.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/common/timer.c b/src/common/timer.c
index 0b28f6a06..f820ebe12 100644
--- a/src/common/timer.c
+++ b/src/common/timer.c
@@ -258,10 +258,6 @@ int64 timer_gettick(void) {
/// Adds a timer to the timer_heap
static void push_timer_heap(int tid) {
BHEAP_ENSURE(timer_heap, 1, 256);
-#ifdef __clang_analyzer__ // Clang's static analyzer warns that BHEAP_ENSURE might set BHEAP_DATA(timer_heap) to NULL.
-#include "assert.h"
- assert(BHEAP_DATA(timer_heap) != NULL);
-#endif // __clang_analyzer__
BHEAP_PUSH(timer_heap, tid, DIFFTICK_MINTOPCMP, swap);
}