Made the cDeadlockDetect class work in clang.
This commit is contained in:
parent
f0a2d49aca
commit
c3caa66b70
@ -139,7 +139,7 @@ void cDeadlockDetect::DeadlockDetected(void)
|
|||||||
// TODO: Make a crashdump / coredump
|
// TODO: Make a crashdump / coredump
|
||||||
|
|
||||||
// Crash the server intentionally:
|
// Crash the server intentionally:
|
||||||
*((int *)0) = 0;
|
*((volatile int *)0) = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user