]> granicus.if.org Git - imagemagick/commitdiff
(no commit message)
authorcristy <urban-warrior@git.imagemagick.org>
Thu, 24 Jan 2013 12:28:39 +0000 (12:28 +0000)
committercristy <urban-warrior@git.imagemagick.org>
Thu, 24 Jan 2013 12:28:39 +0000 (12:28 +0000)
MagickCore/composite.c
MagickCore/morphology.c

index 47597e61521c499c989fa0ac060f3643d63e9657..2a7c727fc2465e4e2d27f5376b5aea2c0a4a3c76 100644 (file)
@@ -414,11 +414,13 @@ static MagickBooleanType CompositeOverImage(Image *image,
       }
     for (x=0; x < (ssize_t) image->columns; x++)
     {
+      double
+        gamma;
+
       MagickRealType
         alpha,
         Da,
         Dc,
-        gamma,
         Sa,
         Sc;
 
@@ -1276,12 +1278,14 @@ MagickExport MagickBooleanType CompositeImage(Image *image,
     GetPixelInfo(composite_image,&source_pixel);
     for (x=0; x < (ssize_t) image->columns; x++)
     {
+      double
+        gamma;
+
       MagickRealType
         alpha,
         Da,
         Dc,
         Dca,
-        gamma,
         Sa,
         Sc,
         Sca;
index 2b4e8abdb7a16c73ce53c3a8ab5b60f37539c996..c7e5b0167295b0d3ecc2152c7f184d9b9207add4 100644 (file)
@@ -2761,8 +2761,11 @@ static ssize_t MorphologyPrimitive(const Image *image,Image *morphology_image,
             ** transparent pixels are not part of the results.
             */
             double
-              alpha,  /* alpha weighting for colors : alpha  */
               gamma;  /* divisor, sum of color alpha weighting */
+
+            MagickRealType
+              alpha;  /* alpha weighting for colors : alpha  */
+
             size_t
               count;  /* alpha valus collected, number kernel values */
 
@@ -2994,8 +2997,11 @@ static ssize_t MorphologyPrimitive(const Image *image,Image *morphology_image,
                 ** transparent pixels are not part of the results.
                 */
                 double
-                  alpha,  /* alpha weighting for colors : alpha  */
                   gamma;  /* divisor, sum of color alpha weighting */
+
+                MagickRealType
+                  alpha;  /* alpha weighting for colors : alpha  */
+
                 size_t
                   count;  /* alpha valus collected, number kernel values */