summaryrefslogtreecommitdiff
path: root/p11-kit
diff options
context:
space:
mode:
Diffstat (limited to 'p11-kit')
-rw-r--r--p11-kit/rpc-message.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/p11-kit/rpc-message.h b/p11-kit/rpc-message.h
index f85265b..fc4d06e 100644
--- a/p11-kit/rpc-message.h
+++ b/p11-kit/rpc-message.h
@@ -207,6 +207,8 @@ static const p11_rpc_call p11_rpc_calls[] = {
#ifdef _DEBUG
#define P11_RPC_CHECK_CALLS() \
{ int i; for (i = 0; i < P11_RPC_CALL_MAX; ++i) assert (p11_rpc_calls[i].call_id == i); }
+#else
+#define P11_RPC_CHECK_CALLS()
#endif
#define P11_RPC_HANDSHAKE \