removed unnecessary check.
This commit is contained in:
parent
69540aa06f
commit
7142c6b0b7
2
src/external/mud/src/mud.c
vendored
2
src/external/mud/src/mud.c
vendored
@ -422,9 +422,7 @@ MUD_read( FILE* fin, MUD_IO_OPT io_opt )
|
|||||||
*/
|
*/
|
||||||
if( ( pos = ftell( fin ) ) == EOF ) return( NULL );
|
if( ( pos = ftell( fin ) ) == EOF ) return( NULL );
|
||||||
if( fread( &size, 4, 1, fin ) == 0 ) return( NULL );
|
if( fread( &size, 4, 1, fin ) == 0 ) return( NULL );
|
||||||
#if !defined(__arm64)
|
|
||||||
bdecode_4( &size, &size ); /* byte ordering !!! */
|
bdecode_4( &size, &size ); /* byte ordering !!! */
|
||||||
#endif // !defined(__arm64)
|
|
||||||
if( fseek( fin, pos, 0 ) == EOF ) return( NULL );
|
if( fseek( fin, pos, 0 ) == EOF ) return( NULL );
|
||||||
|
|
||||||
#ifdef DEBUG
|
#ifdef DEBUG
|
||||||
|
Loading…
x
Reference in New Issue
Block a user