Skip to content

Commit

Permalink
fix -Wunused-but-set-variable in rt_actor.c
Browse files Browse the repository at this point in the history
  • Loading branch information
fabiangreffrath committed May 1, 2024
1 parent ec8fd68 commit f7d816a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions rott/rt_actor.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;



Expand Down Expand Up @@ -12633,7 +12633,7 @@ boolean CheckLine (void *from, void *to, int condition)


do
{count ++;
{
/*
if (count > 1000)
Error("possible infinite loop in CheckLine");
Expand Down

0 comments on commit f7d816a

Please sign in to comment.