If we can't set a checkpoint, don't crash, just return.

This commit is contained in:
Steve Checkoway
2004-02-20 22:49:26 +00:00
parent 7c6dfa8b18
commit 00bfa2b892
+1 -1
View File
@@ -344,7 +344,7 @@ void Checkpoints::SetCheckpoint( const char *file, int line, const char *message
int slotno = GetCurThreadSlot();
/* We can't ASSERT here, since that uses checkpoints. */
if( slotno == -1 )
*(char*)0=0;
return;
ThreadSlot &slot = g_ThreadSlots[slotno];