Commit b7e4171a5 for imagemagick.org
commit b7e4171a5c19d9ad2bab546845a363ec47b0e592
Author: Cristy <urban-warrior@imagemagick.org>
Date: Sat Sep 26 22:20:07 2026 -0400
eliminate compiler warning
diff --git a/MagickCore/xwindow-private.h b/MagickCore/xwindow-private.h
index e51978391..c462922f6 100644
--- a/MagickCore/xwindow-private.h
+++ b/MagickCore/xwindow-private.h
@@ -54,13 +54,13 @@ extern "C" {
#define ThrowXWindowException(severity,tag,context) \
{ \
ExceptionInfo \
- *exception; \
+ *san_exception; \
\
- exception=AcquireExceptionInfo(); \
- (void) ThrowMagickException(exception,GetMagickModule(),severity,tag, \
+ san_exception=AcquireExceptionInfo(); \
+ (void) ThrowMagickException(san_exception,GetMagickModule(),severity,tag, \
"'%s': %s",context,strerror(errno)); \
- CatchException(exception); \
- (void) DestroyExceptionInfo(exception); \
+ CatchException(san_exception); \
+ san_exception=DestroyExceptionInfo(san_exception); \
}
#define ThrowXWindowFatalException(severity,tag,context) \
{ \