Eliminate compiler warnings
diff --git a/MagickCore/draw.c b/MagickCore/draw.c
index c3466c5..7ac3d54 100644
--- a/MagickCore/draw.c
+++ b/MagickCore/draw.c
@@ -5937,12 +5937,6 @@
     dy*(distance+offset)/distance);
 }
 
-static inline double DrawEpsilonReciprocal(const double x)
-{
-  double sign = x < 0.0 ? -1.0 : 1.0;
-  return((sign*x) >= DrawEpsilon ? 1.0/x : sign*(1.0/DrawEpsilon));
-}
-
 static PrimitiveInfo *TraceStrokePolygon(const DrawInfo *draw_info,
   const PrimitiveInfo *primitive_info)
 {
diff --git a/MagickCore/effect.c b/MagickCore/effect.c
index 48a2adf..5a33212 100644
--- a/MagickCore/effect.c
+++ b/MagickCore/effect.c
@@ -2942,7 +2942,7 @@
           }
         gamma=0.0;
         pixel=0.0;
-        if ((GetPixelChannelTraits(image,AlphaChannel) == UndefinedPixelTrait) ||
+        if ((GetPixelChannelTraits(image,AlphaPixelChannel) == UndefinedPixelTrait) ||
             (channel == AlphaPixelChannel))
           {
             for (j=0; j < (ssize_t) n; j+=(ssize_t) step)