From 7b062499a7d12dbd0379446eec207272a459c163 Mon Sep 17 00:00:00 2001 From: Zeno Rogue Date: Sat, 2 May 2026 16:02:51 +0200 Subject: [PATCH] one more unused variable removed --- rogueviz/planets.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/rogueviz/planets.cpp b/rogueviz/planets.cpp index 736b945a..14397c7d 100644 --- a/rogueviz/planets.cpp +++ b/rogueviz/planets.cpp @@ -162,7 +162,6 @@ bool kill_off(hyperpoint h1, hyperpoint h2, hyperpoint& h3) { int bad; void test_reverse() { - int killed = 0; bad = 0; for(int a=0; a<100; a++) { hyperpoint h = random_spin3() * C0; @@ -173,8 +172,7 @@ void test_reverse() { bool ko = kill_off(h, h1, h2); if(hdist(h, h2) < 1e-5) ; - else if(ko) - killed++; + else if(ko) ; else { bad++; println(hlog, h, " -> ", h1, " -> ", h2);