From 996c6cf5f7b89210dea84c6d4b76de6d15ad8239 Mon Sep 17 00:00:00 2001 From: Zeno Rogue Date: Thu, 1 Feb 2018 03:06:45 +0100 Subject: [PATCH] fixed a compiler warning --- savemem.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/savemem.cpp b/savemem.cpp index 71811bac..578dc1dc 100644 --- a/savemem.cpp +++ b/savemem.cpp @@ -49,9 +49,9 @@ void delete_heptagon(heptagon *h2) { void recursive_delete(heptagon *h, int i) { heptagon *h2 = h->move[i]; - for(int i=1; imove[i] && h2->move[i]->move[0] == h2) - recursive_delete(h2, i); + recursive_delete(h2, i); } if(h2->alt && h2->alt->alt == h2->alt) { DEBSM(printf("destroying alternate map %p\n", h2->alt);) for(hrmap *& hm: allmaps) {