summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBent Bisballe Nyeng <deva@aasimon.org>2012-12-13 10:47:27 +0100
committerBent Bisballe Nyeng <deva@aasimon.org>2012-12-13 10:47:27 +0100
commit84cb79efbb1080861e7c630d3ac4fed12342e5af (patch)
tree5bf12d3b6caa29fad2dc73f88d99d2ac4faaea82
parentbf73de8ded17a3841b2fc0e4d5d10b490182e2ff (diff)
Don't define 'done' label if filter is not used.
-rw-r--r--debug.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/debug.c b/debug.c
index eb87723..f3d5c5e 100644
--- a/debug.c
+++ b/debug.c
@@ -282,7 +282,9 @@ int __debug(const char *func, const int line,
}
#endif
+#ifdef WITH_DBG_FILTER
done:
+#endif
dbg_mutex_unlock();
return result;