Commit 851c8551 by Alan Mishchenko

Compiler warnings.

parent 7f112787
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment