Skip to content

Commit

Permalink
fix -Wunused-but-set-variable in rt_door.c
Browse files Browse the repository at this point in the history
  • Loading branch information
fabiangreffrath committed May 1, 2024
1 parent f7d816a commit 9632c83
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions rott/rt_door.c
Original file line number Diff line number Diff line change
Expand Up @@ -299,7 +299,7 @@ int GetIndexForAction(void (*action)(intptr_t))


void SaveTouchPlates(byte ** buffer,int *size)
{int i,k;
{int i;
byte * tptr;
touchplatetype *temp;
saved_touch_type dummy;
Expand All @@ -318,7 +318,7 @@ void SaveTouchPlates(byte ** buffer,int *size)

for(i=0;i<lasttouch;i++)
{
for(k=0,temp=touchplate[i];temp;k++,temp = temp->nextaction)
for(temp=touchplate[i];temp;temp = temp->nextaction)
{
dummy.tictime = temp->tictime;
dummy.ticcount = temp->ticcount;
Expand Down

0 comments on commit 9632c83

Please sign in to comment.