From: Stef Walter Date: Fri, 8 Aug 2014 15:39:40 +0000 (+0200) Subject: common: Quiet down clang scanner with assertions X-Git-Tag: 0.21.2~14 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=26b3e98f7934bd47ab3d387124135f254bd6f8ba;p=p11-kit common: Quiet down clang scanner with assertions Quieten down the clang scanner by telling it to expect that our test assertions fail --- 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,