summaryrefslogtreecommitdiffstats
path: root/src/aig/ioa
diff options
context:
space:
mode:
authorAlan Mishchenko <alanmi@berkeley.edu>2012-02-16 21:53:16 -0800
committerAlan Mishchenko <alanmi@berkeley.edu>2012-02-16 21:53:16 -0800
commit791b107e7a225103ee76c921c3c4a96d0e1adae2 (patch)
tree80d8e58053fbca2087d57b7fa8cbca7c594aa764 /src/aig/ioa
parent933744347b36315b42338dfdee5934f87d029398 (diff)
downloadabc-791b107e7a225103ee76c921c3c4a96d0e1adae2.tar.gz
abc-791b107e7a225103ee76c921c3c4a96d0e1adae2.tar.bz2
abc-791b107e7a225103ee76c921c3c4a96d0e1adae2.zip
Silencing some of the gcc warnings.
Diffstat (limited to 'src/aig/ioa')
-rw-r--r--src/aig/ioa/ioaReadAig.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/aig/ioa/ioaReadAig.c b/src/aig/ioa/ioaReadAig.c
index a1f09edf..eb253659 100644
--- a/src/aig/ioa/ioaReadAig.c
+++ b/src/aig/ioa/ioaReadAig.c
@@ -433,13 +433,13 @@ Aig_Man_t * Ioa_ReadAiger( char * pFileName, int fCheck )
FILE * pFile;
Aig_Man_t * pNew;
char * pName, * pContents;
- int nFileSize;
+ int nFileSize, RetValue;
// read the file into the buffer
nFileSize = Ioa_FileSize( pFileName );
pFile = fopen( pFileName, "rb" );
pContents = ABC_ALLOC( char, nFileSize );
- fread( pContents, nFileSize, 1, pFile );
+ RetValue = fread( pContents, nFileSize, 1, pFile );
fclose( pFile );
pNew = Ioa_ReadAigerFromMemory( pContents, nFileSize, fCheck );