From 6f33c48dd2de8c2fd51738dc342adabbb072f4a9 Mon Sep 17 00:00:00 2001 From: Dirk Lemstra Date: Fri, 28 Jun 2019 11:14:25 +0200 Subject: [PATCH] Removed unnecessary memset. --- coders/gif.c | 1 - 1 file changed, 1 deletion(-) 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; ; ) { -- 2.40.0