summaryrefslogtreecommitdiff
path: root/src/map.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/map.c')
-rw-r--r--src/map.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map.c b/src/map.c
index 38f0d34..6d89e36 100644
--- a/src/map.c
+++ b/src/map.c
@@ -1236,7 +1236,7 @@ static struct HXrbnode *HXrbtrav_rewalk(struct HXrbtrav *trav)
} else {
/* Search for the specific node to rebegin traversal at. */
const struct HXrbnode *newpath[RBT_MAXDEP];
- unsigned char newdir[RBT_MAXDEP];
+ unsigned char newdir[RBT_MAXDEP] = {};
int newdepth = 0, res;
bool found = false;