Skip to content

Commit

Permalink
Suppress warning of (deliberate) null pointer deference
Browse files Browse the repository at this point in the history
  • Loading branch information
timangus committed Sep 1, 2014
1 parent 4f3c95c commit eeaf022
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions code/qcommon/common.c
Expand Up @@ -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
}

/*
Expand Down

0 comments on commit eeaf022

Please sign in to comment.