From 26b3e98f7934bd47ab3d387124135f254bd6f8ba Mon Sep 17 00:00:00 2001 From: Stef Walter Date: Fri, 8 Aug 2014 17:39:40 +0200 Subject: common: Quiet down clang scanner with assertions Quieten down the clang scanner by telling it to expect that our test assertions fail --- common/test.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'common') 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, -- cgit v1.1