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 17:39:40 +0200
commitcc3650775c762ceaf7605fb501046a79e083cf6e (patch)
tree18ad069d79e105de6844f0a5531255a6b2da4408
parent18435b59a5c8835d05e86142bab7f7387c3c40d3 (diff)
downloadp11-kit-cc3650775c762ceaf7605fb501046a79e083cf6e.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 c9f519a..92d31da 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,