From: Cristy <urban-warrior@imagemagick.org>
Date: Sun, 9 Dec 2018 21:21:05 +0000 (-0500)
Subject: ...
X-Git-Tag: 7.0.8-16~6
X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=1c66bd52075a3529e0813e4051a31cbe6575de3c;p=imagemagick

...
---

diff --git a/coders/png.c b/coders/png.c
index 59c7057cc..c80b4bcdc 100644
--- a/coders/png.c
+++ b/coders/png.c
@@ -10306,7 +10306,7 @@ static MagickBooleanType WriteOnePNGImage(MngInfo *mng_info,
       if (ping_bit_depth < (int) mng_info->write_png_depth)
          ping_bit_depth = mng_info->write_png_depth;
     }
-
+  (void) old_bit_depth;
   image_depth=ping_bit_depth;
 
   if (logging != MagickFalse)