From 90aef5138379b40146901a9d7fe4b5265c5e26e0 Mon Sep 17 00:00:00 2001 From: Tim Angus Date: Mon, 1 Sep 2014 11:19:57 +0100 Subject: Suppress warning of (deliberate) null pointer deference --- src/qcommon/common.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/qcommon') diff --git a/src/qcommon/common.c b/src/qcommon/common.c index d8216b15..8465780c 100644 --- a/src/qcommon/common.c +++ b/src/qcommon/common.c @@ -2287,7 +2287,9 @@ A way to force a bus error for development reasons ================= */ static void Com_Crash_f( void ) { +#ifndef __clang_analyzer__ * ( volatile int * ) 0 = 0x12345678; +#endif } /* -- cgit