mirror of
https://gitea.wildfiregames.com/0ad/0ad.git
synced 2026-06-23 05:29:27 +00:00
Fix crash on Clang
This was SVN commit r11269.
This commit is contained in:
@@ -505,7 +505,7 @@ void SetCameraTarget(void* UNUSED(cbdata), float x, float y, float z)
|
||||
int Crash(void* UNUSED(cbdata))
|
||||
{
|
||||
debug_printf(L"Crashing at user's request.\n");
|
||||
return *(int*)0;
|
||||
return *(volatile int*)0;
|
||||
}
|
||||
|
||||
void DebugWarn(void* UNUSED(cbdata))
|
||||
|
||||
Reference in New Issue
Block a user