summaryrefslogtreecommitdiff
path: root/src/qcommon
diff options
context:
space:
mode:
authorTim Angus <tim@ngus.net>2014-09-01 11:19:57 +0100
committerTim Angus <tim@ngus.net>2015-03-17 11:38:07 +0000
commit90aef5138379b40146901a9d7fe4b5265c5e26e0 (patch)
tree53106b39bdc30d413f3f18eb041ce64f9afc42a1 /src/qcommon
parenta6dd4b35538c9d02e0edd9e076c52ba862f58110 (diff)
Suppress warning of (deliberate) null pointer deference
Diffstat (limited to 'src/qcommon')
-rw-r--r--src/qcommon/common.c2
1 files changed, 2 insertions, 0 deletions
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
}
/*