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 26a92693ff08ff42dacaca88844ef6b6a42ae422..6af9c4cbc7de0269d9cf450be8ad8314506024dd 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 3631ae4d382e362cf653c57242cc369d96e54a5b..088af7cf6a4e98138e7f0087de1f6dc6a4f0d0c0 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);