Skip to content

Commit

Permalink
Removing unused variable that triggered the unused-but-set-variable w…
Browse files Browse the repository at this point in the history
…arning when building on macOS 14.7.1 with Clang 15.0.
  • Loading branch information
rptb1 committed Nov 26, 2024
1 parent 8d2019b commit 25931a4
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions code/trans.c
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,6 @@ Res TransformAddOldNew(Transform transform,
{
Res res;
Index i;
Count added = 0;
Arena arena;

AVERT(Transform, transform);
Expand Down Expand Up @@ -190,8 +189,6 @@ Res TransformAddOldNew(Transform transform,
AVER(res != ResFAIL); /* It's a static error to add the same old twice. */
if (res != ResOK)
return res;

++added;
}

AVERT(Transform, transform);
Expand Down

0 comments on commit 25931a4

Please sign in to comment.