Index: trunk/src/undo.c =================================================================== --- trunk/src/undo.c (revision 2617) +++ trunk/src/undo.c (revision 2618) @@ -1571,6 +1571,7 @@ return (Locked); } +#ifndef NDEBUG static const char *undo_type2str(int type) { static char buff[32]; @@ -1614,3 +1615,4 @@ } } +#endif