# HG changeset patch
# User Nick Wellnhofer <wellnhofer@aevum.de>
# Date 1662468012 -7200
#      Tue Sep 06 14:40:12 2022 +0200
# Node ID c4d704adb9ea96179749d8864da1292a490209fb
# Parent  718486d82d5741abfe7118db9a4488ce5f38779d
xsltproc: Fix unused variable warning

diff --git a/xsltproc/xsltproc.c b/xsltproc/xsltproc.c
--- a/xsltproc/xsltproc.c
+++ b/xsltproc/xsltproc.c
@@ -55,7 +55,9 @@
 #include <sys/timeb.h>
 #endif
 
+#ifdef LIBXML_DEBUG_ENABLED
 static int debug = 0;
+#endif
 static int repeat = 0;
 static int timing = 0;
 static int dumpextensions = 0;