]> granicus.if.org Git - p11-kit/commitdiff
common: Re-add placeholder definition of p11_debug
authorDaiki Ueno <dueno@redhat.com>
Fri, 18 Aug 2017 09:54:05 +0000 (11:54 +0200)
committerDaiki Ueno <ueno@gnu.org>
Fri, 18 Aug 2017 13:13:45 +0000 (15:13 +0200)
This was mistakenly removed in commit efe6dc56c.
Pointed by Lars Wendler in issue #97.

common/debug.h

index 4bf7e7866239a989fd5bf52ed0377c3a86dfd409..255c62c4bca00febee58213d5ab89f21c9f37c45 100644 (file)
@@ -144,6 +144,10 @@ void              p11_debug_precond             (const char *format,
 
 #else /* !defined (WITH_DEBUG) */
 
+#undef p11_debug
+#define p11_debug(format, ...) \
+       do {} while (false)
+
 #undef p11_debug_err
 #define p11_debug_err(errnum, format, ...) \
        do {} while (false)