Remove unused debugging function

Signed-off-by: Ran Benita <ran234@gmail.com>
master
Ran Benita 2012-04-11 14:13:24 +03:00 committed by Daniel Stone
parent afa34f3d2f
commit 5fb494eca9
2 changed files with 0 additions and 23 deletions

View 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)
{

View 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);