From: Dirk Lemstra Date: Fri, 28 Jun 2019 09:14:25 +0000 (+0200) Subject: Removed unnecessary memset. X-Git-Tag: 7.0.8-51~19 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=6f33c48dd2de8c2fd51738dc342adabbb072f4a9;p=imagemagick Removed unnecessary memset. --- diff --git a/coders/gif.c b/coders/gif.c index 056c4d2fc..529f3a11d 100644 --- a/coders/gif.c +++ b/coders/gif.c @@ -1174,7 +1174,6 @@ static Image *ReadGIFImage(const ImageInfo *image_info,ExceptionInfo *exception) if (info == (unsigned char *) NULL) ThrowGIFException(ResourceLimitError, "MemoryAllocationFailed"); - (void) memset(info,0,255UL*sizeof(*info)); reserved_length=255; for (info_length=0; ; ) {