mirror of https://github.com/YosysHQ/abc.git
Compiler warning.
This commit is contained in:
parent
ce74153c9f
commit
17343bf144
|
|
@ -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" );
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue