Remove unused debugging function
authorRan Benita <ran234@gmail.com>
Wed, 11 Apr 2012 11:13:24 +0000 (14:13 +0300)
committerDaniel Stone <daniel@fooishbar.org>
Mon, 30 Apr 2012 16:06:31 +0000 (17:06 +0100)
Signed-off-by: Ran Benita <ran234@gmail.com>
src/xkbcomp/parseutils.c
src/xkbcomp/parseutils.h

index 26a9269..6af9c4c 100644 (file)
@@ -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)
 {
index 3631ae4..088af7c 100644 (file)
@@ -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);