summaryrefslogtreecommitdiffstats
path: root/src/debug.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/debug.c')
-rw-r--r--src/debug.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/debug.c b/src/debug.c
index a40c249..e7d52fe 100644
--- a/src/debug.c
+++ b/src/debug.c
@@ -43,6 +43,7 @@ void idevice_set_debug_level(int level)
debug_level = level;
}
+#ifndef STRIP_DEBUG_CODE
static void debug_print_line(const char *func, const char *file, int line, const char *buffer)
{
char *str_time = NULL;
@@ -70,6 +71,7 @@ static void debug_print_line(const char *func, const char *file, int line, const
free (header);
}
+#endif
inline void debug_info_real(const char *func, const char *file, int line, const char *format, ...)
{