Compiler warning.

This commit is contained in:
Alan Mishchenko 2014-08-27 23:03:39 -07:00
parent ce74153c9f
commit 17343bf144
1 changed files with 2 additions and 2 deletions

View File

@ -554,7 +554,7 @@ static char * Io_MvLoadFileBz2( char * pFileName, int * pnFileSize )
int nFileSize = 0; int nFileSize = 0;
char * pContents; char * pContents;
BZFILE * b; BZFILE * b;
int bzError; int bzError, RetValue;
struct buflist * pNext; struct buflist * pNext;
buflist * bufHead = NULL, * buf = NULL; buflist * bufHead = NULL, * buf = NULL;
@ -603,7 +603,7 @@ static char * Io_MvLoadFileBz2( char * pFileName, int * pnFileSize )
} }
pContents = ABC_ALLOC( char, nFileSize + 10 ); pContents = ABC_ALLOC( char, nFileSize + 10 );
rewind( pFile ); rewind( pFile );
fread( pContents, nFileSize, 1, pFile ); RetValue = fread( pContents, nFileSize, 1, pFile );
} else { } else {
// Some other error. // Some other error.
Abc_Print( -1, "Io_MvLoadFileBz2(): Unable to read the compressed BLIF.\n" ); Abc_Print( -1, "Io_MvLoadFileBz2(): Unable to read the compressed BLIF.\n" );