From eeaf0227f703531cc3d71f743b090edb2b38bf35 Mon Sep 17 00:00:00 2001 From: Tim Angus Date: Mon, 1 Sep 2014 11:19:57 +0100 Subject: [PATCH] Suppress warning of (deliberate) null pointer deference --- code/qcommon/common.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/code/qcommon/common.c b/code/qcommon/common.c index 36cb4ce6..54f6749f 100644 --- a/code/qcommon/common.c +++ b/code/qcommon/common.c @@ -2291,7 +2291,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 } /*