Skip to content

Commit

Permalink
Merging branch/2024-11-26/fix-macos-latest-warnings for GitHub pull r…
Browse files Browse the repository at this point in the history
…equest #298 <#298>
  • Loading branch information
rptb1 committed Nov 27, 2024
2 parents 7c52cfd + 8942e30 commit 9fd0577
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 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 All @@ -164,8 +163,8 @@ Res TransformAddOldNew(Transform transform,
lists (old_list, new_list), using ArenaRead. Insisting on
parking keeps things simple. */
arena = transform->arena;
AVER(ArenaGlobals(arena)->clamped);
AVER(arena->busyTraces == TraceSetEMPTY);
AVER(ArenaGlobals(arena)->clamped); /* .assume.parked */
AVER(arena->busyTraces == TraceSetEMPTY); /* .assume.parked */

res = TableGrow(transform->oldToNew, count);
if (res != ResOK)
Expand All @@ -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 9fd0577

Please sign in to comment.