Commit 5634ede2a for imagemagick.org
commit 5634ede2ae4196ca020d5e5beb55a2db0c996501
Author: Cristy <urban-warrior@imagemagick.org>
Date: Thu Dec 3 13:12:56 2026 -0500
eliminate compiler warning
diff --git a/MagickCore/resource.c b/MagickCore/resource.c
index 3dc6ef9ed..c1c549662 100644
--- a/MagickCore/resource.c
+++ b/MagickCore/resource.c
@@ -655,13 +655,13 @@ MagickExport int AcquireUniqueFileResource(char *path)
else
{
char
- *key;
+ *my_key;
- key=ConstantString(path);
- status=AddValueToSplayTree(temporary_resources,key,attributes);
+ my_key=ConstantString(path);
+ status=AddValueToSplayTree(temporary_resources,my_key,attributes);
if (status == MagickFalse)
{
- key=DestroyString(key);
+ my_key=DestroyString(my_key);
attributes=(struct stat *) RelinquishMagickMemory(attributes);
}
}