From bcf4e2d43b68142b9213c86752ee5493bcb51ff3 Mon Sep 17 00:00:00 2001 From: Neil Mclean Date: Wed, 8 Aug 2012 21:32:09 +0200 Subject: [PATCH] Ammend to static inline, for no gcc warning. --- uct/tree.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/uct/tree.c b/uct/tree.c index d15a407..4c38582 100644 --- a/uct/tree.c +++ b/uct/tree.c @@ -47,7 +47,7 @@ tree_alloc_node(struct tree *t, int count, bool fast_alloc) static void tree_setup_node(struct tree *t, struct tree_node *n, coord_t coord, int depth) { - volatile static unsigned int hash = 0; + static volatile unsigned int hash = 0; n->coord = coord; n->depth = depth; /* n->hash is used only for debugging. It is very likely (but not -- 2.11.4.GIT