Fix minor windows pedantic warnings.
This commit is contained in:
+2
-2
@@ -28,7 +28,7 @@ void NORETURN sm_crash( const char *reason )
|
||||
if( IsDebuggerPresent() )
|
||||
{
|
||||
DebugBreak();
|
||||
while(1); /* don't return */
|
||||
for(;;); /* don't return */
|
||||
}
|
||||
#endif
|
||||
|
||||
@@ -39,7 +39,7 @@ void NORETURN sm_crash( const char *reason )
|
||||
|
||||
/* This isn't actually reached. We just do this to convince the compiler that the
|
||||
* function really doesn't return. */
|
||||
while(1);
|
||||
for(;;);
|
||||
#endif
|
||||
|
||||
#if defined(_WINDOWS)
|
||||
|
||||
Reference in New Issue
Block a user