From: Neil Mclean Date: Wed, 8 Aug 2012 19:32:09 +0000 (+0200) Subject: Ammend to static inline, for no gcc warning. X-Git-Tag: pachi-10.00-satsugen~11 X-Git-Url: https://repo.or.cz/w/pachi.git/commitdiff_plain/bcf4e2d43b68142b9213c86752ee5493bcb51ff3 Ammend to static inline, for no gcc warning. --- 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