]> granicus.if.org Git - imagemagick/commitdiff
Fix another clang warning about extra parentheses in property.c
authorglennrp <glennrp@git.imagemagick.org>
Tue, 8 Jan 2013 19:08:31 +0000 (19:08 +0000)
committerglennrp <glennrp@git.imagemagick.org>
Tue, 8 Jan 2013 19:08:31 +0000 (19:08 +0000)
MagickCore/property.c

index 215aa4400f7392b8018bd46093fc1f7a40b9076f..01a7cfb15e89b108fb0a6ce7190b25a1cf0ff2ca 100644 (file)
@@ -3438,7 +3438,7 @@ MagickExport MagickBooleanType SetImageProperty(Image *image,
       RelinquishMagickMemory,RelinquishMagickMemory);
 
   /* Delete property if NULL --  empty string values are valid! */
-  if ((value == (const char *) NULL))
+  if (value == (const char *) NULL)
     return(DeleteImageProperty(image,property));
   status=MagickTrue;