summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStef Walter <stef@thewalter.net>2014-08-08 17:39:40 +0200
committerStef Walter <stef@thewalter.net>2014-08-08 18:44:51 +0200
commit26b3e98f7934bd47ab3d387124135f254bd6f8ba (patch)
treef83c5333a9a523f1ad65b9ef6535eeab0bfa9e6c
parent9cd9153a4d4cf78011d2a8f8c7a69aa8f3eda9f3 (diff)
downloadp11-kit-26b3e98f7934bd47ab3d387124135f254bd6f8ba.tar.gz
common: Quiet down clang scanner with assertions
Quieten down the clang scanner by telling it to expect that our test assertions fail
-rw-r--r--common/test.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/test.h b/common/test.h
index 2d9fa69..e28bb55 100644
--- a/common/test.h
+++ b/common/test.h
@@ -111,7 +111,7 @@ void p11_test_fail (const char *filename,
int line,
const char *function,
const char *message,
- ...) GNUC_PRINTF(4, 5);
+ ...) GNUC_PRINTF(4, 5) CLANG_ANALYZER_NORETURN;
void p11_test (void (* function) (void),
const char *name,