Fix minor windows pedantic warnings.

This commit is contained in:
Jason Felds
2016-03-27 22:03:15 -04:00
parent 534909d30a
commit bec18a0d36
31 changed files with 173 additions and 67 deletions
+2 -2
View File
@@ -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)