From f7d816afa33e6b5c39822d05a4a5ccfd25f68558 Mon Sep 17 00:00:00 2001 From: Fabian Greffrath Date: Wed, 1 May 2024 21:42:14 +0200 Subject: [PATCH] fix -Wunused-but-set-variable in rt_actor.c --- rott/rt_actor.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rott/rt_actor.c b/rott/rt_actor.c index 02b7fef..97c799e 100644 --- a/rott/rt_actor.c +++ b/rott/rt_actor.c @@ -12541,7 +12541,7 @@ boolean CheckLine (void *from, void *to, int condition) int value; int dx,dy,dz; int xydist; - int otx,oty,count=0; + int otx,oty; @@ -12633,7 +12633,7 @@ boolean CheckLine (void *from, void *to, int condition) do - {count ++; + { /* if (count > 1000) Error("possible infinite loop in CheckLine");