Commit 5fb494eca960f790c18623e28b9587d43ebeeae4

Ran Benita 2012-04-11T14:13:24

Remove unused debugging function Signed-off-by: Ran Benita <ran234@gmail.com>

diff --git a/src/xkbcomp/parseutils.c b/src/xkbcomp/parseutils.c
index 26a9269..6af9c4c 100644
--- a/src/xkbcomp/parseutils.c
+++ b/src/xkbcomp/parseutils.c
@@ -633,24 +633,6 @@ BAIL:
     return NULL;
 }
 
-#ifdef DEBUG
-void
-PrintStmtAddrs(ParseCommon * stmt)
-{
-    fprintf(stderr, "0x%x", stmt);
-    if (stmt)
-    {
-        do
-        {
-            fprintf(stderr, "->0x%x", stmt->next);
-            stmt = stmt->next;
-        }
-        while (stmt);
-    }
-    fprintf(stderr, "\n");
-}
-#endif
-
 void
 CheckDefaultMap(XkbFile * maps, const char *fileName)
 {
diff --git a/src/xkbcomp/parseutils.h b/src/xkbcomp/parseutils.h
index 3631ae4..088af7c 100644
--- a/src/xkbcomp/parseutils.h
+++ b/src/xkbcomp/parseutils.h
@@ -113,11 +113,6 @@ IncludeCreate(char *str, unsigned merge);
 extern unsigned
 StmtSetMerge(ParseCommon *stmt, unsigned merge, YYLTYPE *loc, void *scanner);
 
-#ifdef DEBUG
-extern void
-PrintStmtAddrs(ParseCommon *stmt);
-#endif
-
 extern void
 CheckDefaultMap(XkbFile *maps, const char *fileName);