diff options
author | Alan Mishchenko <alanmi@berkeley.edu> | 2014-08-27 23:03:39 -0700 |
---|---|---|
committer | Alan Mishchenko <alanmi@berkeley.edu> | 2014-08-27 23:03:39 -0700 |
commit | 17343bf144fc1f4e0f291883fe3cef7e89947747 (patch) | |
tree | 4f57d2a0cdc0aa599784f4c02965e6cfd127fe3d /src | |
parent | ce74153c9f5f95274724ab2f02104fc92c620222 (diff) | |
download | abc-17343bf144fc1f4e0f291883fe3cef7e89947747.tar.gz abc-17343bf144fc1f4e0f291883fe3cef7e89947747.tar.bz2 abc-17343bf144fc1f4e0f291883fe3cef7e89947747.zip |
Compiler warning.
Diffstat (limited to 'src')
-rw-r--r-- | src/base/io/ioReadBlifMv.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/base/io/ioReadBlifMv.c b/src/base/io/ioReadBlifMv.c index 2466bf12..bd7aa78a 100644 --- a/src/base/io/ioReadBlifMv.c +++ b/src/base/io/ioReadBlifMv.c @@ -554,7 +554,7 @@ static char * Io_MvLoadFileBz2( char * pFileName, int * pnFileSize ) int nFileSize = 0; char * pContents; BZFILE * b; - int bzError; + int bzError, RetValue; struct buflist * pNext; buflist * bufHead = NULL, * buf = NULL; @@ -603,7 +603,7 @@ static char * Io_MvLoadFileBz2( char * pFileName, int * pnFileSize ) } pContents = ABC_ALLOC( char, nFileSize + 10 ); rewind( pFile ); - fread( pContents, nFileSize, 1, pFile ); + RetValue = fread( pContents, nFileSize, 1, pFile ); } else { // Some other error. Abc_Print( -1, "Io_MvLoadFileBz2(): Unable to read the compressed BLIF.\n" ); |