Commit f1fb5d1c6 for imagemagick.org
commit f1fb5d1c6b74f3e51ec6c93978ab292355b15d98
Author: Cristy <urban-warrior@imagemagick.org>
Date: Sat Oct 3 16:32:19 2026 -0400
fix undefined variable
diff --git a/MagickCore/opencl.c b/MagickCore/opencl.c
index 1d575509a..769533a97 100644
--- a/MagickCore/opencl.c
+++ b/MagickCore/opencl.c
@@ -852,14 +852,7 @@ static void LoadOpenCLDeviceBenchmark(MagickCLEnv clEnv,const char *xml)
}
}
if (*q == '\0')
- {
- /*
- Detect unterminated DOCTYPE.
- */
- (void) ThrowMagickException(exception,GetMagickModule(),
- ConfigureError,"UnterminatedDOCTYPE","`%s'",filename);
- break;
- }
+ break;
continue;
}
if (LocaleNCompare(keyword,"<!--",4) == 0)