Permalink
Browse files

Do not enable debugging by default.

  • Loading branch information...
1 parent 0d68b6f commit df360de238bef488540f28163f93f1f5af9cb6a4 @freddy77 committed Feb 6, 2014
Showing with 4 additions and 1 deletion.
  1. +4 −1 fillextfs.c
View
@@ -379,6 +379,7 @@ static struct hdlinks_s hdlinks;
static char * app_name;
static const char *const memory_exhausted = "memory exhausted";
+#ifdef DEBUG
static void
debugf(int line, const char *fmt, ...)
{
@@ -390,8 +391,10 @@ debugf(int line, const char *fmt, ...)
putc('\n', stderr);
va_end(p);
}
-
#define debugf(args...) debugf(__LINE__, args)
+#else
+#define debugf(args...) do {} while(0)
+#endif
// error (un)handling
static void

0 comments on commit df360de

Please sign in to comment.