Skip to content

Commit 2a68d68

Browse files
author
Cristy
committed
eliminate compiler exception
1 parent 1242136 commit 2a68d68

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

magick/image.c

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1662,8 +1662,7 @@ MagickExport VirtualPixelMethod GetImageVirtualPixelMethod(const Image *image)
16621662
%
16631663
*/
16641664
MagickExport size_t InterpretImageFilename(const ImageInfo *image_info,
1665-
Image *image,const char *format,int value,char *filename,
1666-
ExceptionInfo *exception)
1665+
Image *image,const char *format,int value,char *filename)
16671666
{
16681667
char
16691668
*p = filename,
@@ -1738,7 +1737,7 @@ MagickExport size_t InterpretImageFilename(const ImageInfo *image_info,
17381737
(void) CopyMagickString(pattern,cursor,extent);
17391738
pattern[extent]='\0';
17401739
if (image != (Image *) NULL)
1741-
option=GetImageProperty(image,pattern,exception);
1740+
option=GetImageProperty(image,pattern);
17421741
if ((option == (const char *) NULL) && (image != (Image *)NULL))
17431742
option=GetImageArtifact(image,pattern);
17441743
if ((option == (const char *) NULL) &&

0 commit comments

Comments
 (0)