Compiler warnings.

This commit is contained in:
Alan Mishchenko 2013-03-30 12:31:39 -07:00
parent 7f11278705
commit 851c8551c0
1 changed files with 2 additions and 1 deletions

View File

@ -221,7 +221,8 @@ If_LibBox_t * If_LibBoxRead2( char * pFileName )
{
while ( pToken == NULL )
{
(void) fgets( pBuffer, nSize, pFile );
if ( fgets( pBuffer, nSize, pFile ) == NULL )
assert( 0 );
pToken = strtok( pBuffer, " \n\r\t" );
}
pBox->pDelays[i] = (pToken[0] == '-') ? -1 : atoi(pToken);