shithub: jbig2

Download patch

ref: 8291bc316fc9882c419c9fcd11dbd8f19d497402
parent: b588b1a9e9599c5041db8279d953bb3aee57371c
author: giles <giles@ded80894-8fb9-0310-811b-c03f3676ab4d>
date: Wed Dec 1 13:21:52 EST 2004

Protect the refinement region debug output with an #ifdef.


git-svn-id: http://svn.ghostscript.com/jbig2dec/trunk@339 ded80894-8fb9-0310-811b-c03f3676ab4d

--- a/jbig2_refinement.c
+++ b/jbig2_refinement.c
@@ -139,6 +139,7 @@
     }
   }
 
+#ifdef JBIG2_DEBUG
   {
     static count = 0;
     char name[32];
@@ -148,6 +149,7 @@
     jbig2_image_write_pbm_file(image, name);
     count++;
   }
+#endif
 
   return 0;
 }