aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard Brooksby2024-11-26 23:52:59 +0000
committerRichard Brooksby2024-11-27 13:25:08 +0000
commite101388dd7e3ce41b34eccce60908de0bd0f0687 (patch)
tree4d6fd5e5aff3b089783fd27e87612edfee7a8ab6
parentdc6809e42ead03799e383243786a829161cc59dc (diff)
downloademacs-e101388dd7e3ce41b34eccce60908de0bd0f0687.tar.gz
emacs-e101388dd7e3ce41b34eccce60908de0bd0f0687.zip
Removing unused variable that triggered the unused-but-set-variable warning when building on macos 14.7.1 with clang 15.0.
-rw-r--r--mps/code/trans.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/mps/code/trans.c b/mps/code/trans.c
index 7e0f9ec196b..1ea5fb73cf2 100644
--- a/mps/code/trans.c
+++ b/mps/code/trans.c
@@ -151,7 +151,6 @@ Res TransformAddOldNew(Transform transform,
151{ 151{
152 Res res; 152 Res res;
153 Index i; 153 Index i;
154 Count added = 0;
155 Arena arena; 154 Arena arena;
156 155
157 AVERT(Transform, transform); 156 AVERT(Transform, transform);
@@ -190,8 +189,6 @@ Res TransformAddOldNew(Transform transform,
190 AVER(res != ResFAIL); /* It's a static error to add the same old twice. */ 189 AVER(res != ResFAIL); /* It's a static error to add the same old twice. */
191 if (res != ResOK) 190 if (res != ResOK)
192 return res; 191 return res;
193
194 ++added;
195 } 192 }
196 193
197 AVERT(Transform, transform); 194 AVERT(Transform, transform);