From: cristy Date: Mon, 15 Mar 2010 17:26:04 +0000 (+0000) Subject: (no commit message) X-Git-Tag: 7.0.1-0~9797 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=05a9a62ce8dba39d8772a33dc9de646a9083d0e1;p=imagemagick --- diff --git a/magick/magick.c b/magick/magick.c index 4a8aa61e0..b6eaeb36a 100644 --- a/magick/magick.c +++ b/magick/magick.c @@ -878,8 +878,8 @@ static MagickBooleanType InitializeMagickList(ExceptionInfo *exception) % % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % -% IsMagickConflict() returns MagickTrue if the image format is not a valid -% image format or conflicts with a logical drive (.e.g. X:). +% IsMagickConflict() returns MagickTrue if the image format conflicts with a +% logical drive (.e.g. X:). % % The format of the IsMagickConflict method is: % @@ -892,25 +892,7 @@ static MagickBooleanType InitializeMagickList(ExceptionInfo *exception) */ MagickExport MagickBooleanType IsMagickConflict(const char *magick) { - const DelegateInfo - *delegate_info; - - const MagickInfo - *magick_info; - - ExceptionInfo - *exception; - assert(magick != (char *) NULL); - exception=AcquireExceptionInfo(); - magick_info=GetMagickInfo(magick,exception); - delegate_info=GetDelegateInfo(magick,(char *) NULL,exception); - if (delegate_info == (const DelegateInfo *) NULL) - delegate_info=GetDelegateInfo((char *) NULL,magick,exception); - exception=DestroyExceptionInfo(exception); - if ((magick_info == (const MagickInfo *) NULL) && - (delegate_info == (const DelegateInfo *) NULL)) - return(MagickTrue); #if defined(macintosh) return(MACIsMagickConflict(magick)); #elif defined(vms)