From 25931a47a7dd5153fa6a0673a4eb7ef7b39baa71 Mon Sep 17 00:00:00 2001 From: Richard Brooksby Date: Tue, 26 Nov 2024 23:52:59 +0000 Subject: [PATCH] Removing unused variable that triggered the unused-but-set-variable warning when building on macOS 14.7.1 with Clang 15.0. --- code/trans.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/code/trans.c b/code/trans.c index ba7b9b6fb1..98ee717c59 100644 --- a/code/trans.c +++ b/code/trans.c @@ -151,7 +151,6 @@ Res TransformAddOldNew(Transform transform, { Res res; Index i; - Count added = 0; Arena arena; AVERT(Transform, transform); @@ -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);