summaryrefslogtreecommitdiff
path: root/src/map/path.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/map/path.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/map/path.c')
-rw-r--r--src/map/path.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/map/path.c b/src/map/path.c
index f5e08d4df..07b38b740 100644
--- a/src/map/path.c
+++ b/src/map/path.c
@@ -192,10 +192,8 @@ bool path_search_long(struct shootpath_data *spd,struct block_list *bl,int16 m,i
/// Ensures there is enough space in array to store new element.
static void heap_push_node(struct node_heap *heap, struct path_node *node)
{
-#ifndef __clang_analyzer__ // TODO: Figure out why clang's static analyzer doesn't like this
BHEAP_ENSURE(*heap, 1, 256);
BHEAP_PUSH2(*heap, node, NODE_MINTOPCMP, swap_ptr);
-#endif // __clang_analyzer__
}
/// Updates path_node in the binary node_heap.