summaryrefslogtreecommitdiffstats
path: root/src/base/io/ioReadBlifMv.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/base/io/ioReadBlifMv.c')
-rw-r--r--src/base/io/ioReadBlifMv.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/base/io/ioReadBlifMv.c b/src/base/io/ioReadBlifMv.c
index 3e226824..127c4537 100644
--- a/src/base/io/ioReadBlifMv.c
+++ b/src/base/io/ioReadBlifMv.c
@@ -532,6 +532,7 @@ static char * Io_MvLoadFile( char * pFileName )
FILE * pFile;
int nFileSize;
char * pContents;
+ int RetValue;
pFile = fopen( pFileName, "rb" );
if ( pFile == NULL )
{
@@ -548,7 +549,7 @@ static char * Io_MvLoadFile( char * pFileName )
}
pContents = ABC_ALLOC( char, nFileSize + 10 );
rewind( pFile );
- fread( pContents, nFileSize, 1, pFile );
+ RetValue = fread( pContents, nFileSize, 1, pFile );
fclose( pFile );
// finish off the file with the spare .end line
// some benchmarks suddenly break off without this line