diff options
author | Stef Walter <stef@thewalter.net> | 2014-08-08 17:39:40 +0200 |
---|---|---|
committer | Stef Walter <stef@thewalter.net> | 2014-08-08 17:39:40 +0200 |
commit | cc3650775c762ceaf7605fb501046a79e083cf6e (patch) | |
tree | 18ad069d79e105de6844f0a5531255a6b2da4408 | |
parent | 18435b59a5c8835d05e86142bab7f7387c3c40d3 (diff) | |
download | p11-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.h | 2 |
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, |