XML printer MAINTENANCE hide not yet fully implemented code
diff --git a/src/printer_xml.c b/src/printer_xml.c
index 5252038..813d032 100644
--- a/src/printer_xml.c
+++ b/src/printer_xml.c
@@ -82,10 +82,10 @@
 {
     struct lyd_node *next, *cur, *child;
     struct lyd_attr *attr;
-    struct mlist *mlist = NULL, *miter;
-    int r = 0;
 
 #if 0
+    struct mlist *mlist = NULL, *miter;
+
     const struct lys_module *wdmod = NULL;
 
     /* add node attribute modules */
@@ -151,7 +151,7 @@
     default:
         break;
     }
-
+#if 0
 print:
     /* print used namespaces */
     while (mlist) {
@@ -161,6 +161,7 @@
         ly_print(ctx->out, " xmlns:%s=\"%s\"", miter->module->prefix, miter->module->ns);
         free(miter);
     }
+#endif
 }
 
 /**