assert(source != (const char *) NULL);
assert(destination != (char *) NULL);
status=GetPathAttributes(destination,&attributes);
- if ((status != MagickFalse) && (attributes.st_size != 0))
+ if (status != MagickFalse)
return(MagickTrue);
/*
Copy source file to destination.
}
image_info->temporary=MagickTrue;
}
- if ((delegate_info->mode != 0) &&
- (((decode != (const char *) NULL) &&
+ if ((delegate_info->mode != 0) && (((decode != (const char *) NULL) &&
(delegate_info->encode != (char *) NULL)) ||
((encode != (const char *) NULL) &&
(delegate_info->decode != (char *) NULL))))
Extract URL base from filename.
*/
p=strrchr(image->filename,'/');
- if (p)
+ if (p != (char *) NULL)
{
p++;
(void) CopyMagickString(url,image_info->magick,MaxTextExtent);
Open output image file.
*/
assert(exception != (ExceptionInfo *) NULL);
- assert(exception->signature == MagickSignature);
- status=OpenBlob(image_info,image,WriteBinaryBlobMode,exception);
if (status == MagickFalse)
return(status);
/*