From: cristy Date: Fri, 25 May 2012 16:15:30 +0000 (+0000) Subject: (no commit message) X-Git-Tag: 7.0.1-0~5530 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=9d790686e446b80aa2f31ed316df6c625cdf67b9;p=imagemagick --- diff --git a/MagickCore/distort.c b/MagickCore/distort.c index 6aa3abe4b..e1ab25936 100644 --- a/MagickCore/distort.c +++ b/MagickCore/distort.c @@ -1462,6 +1462,9 @@ MagickExport Image *DistortResizeImage(const Image *image, { #define DistortResizeImageTag "Distort/Image" + double + distort_args[12]; + Image *resize_image, *tmp_image; @@ -1469,9 +1472,6 @@ MagickExport Image *DistortResizeImage(const Image *image, RectangleInfo crop_area; - double - distort_args[12]; - VirtualPixelMethod vp_save; @@ -1488,7 +1488,6 @@ MagickExport Image *DistortResizeImage(const Image *image, return((Image *) NULL); /* Do not short-circuit this resize if final image size is unchanged */ - (void) ResetMagickMemory(distort_args,0,12*sizeof(double)); distort_args[4]=(double) image->columns; distort_args[6]=(double) columns;