diff options
author | Alan Mishchenko <alanmi@berkeley.edu> | 2012-02-16 23:40:23 -0800 |
---|---|---|
committer | Alan Mishchenko <alanmi@berkeley.edu> | 2012-02-16 23:40:23 -0800 |
commit | 97856d021a1282cf3fb9a86701fff3ec403fe912 (patch) | |
tree | 7dbd5471eb417540ad39fa6079ac8c32a2e06222 /src/sat/bsat/satChecker.c | |
parent | 791b107e7a225103ee76c921c3c4a96d0e1adae2 (diff) | |
download | abc-97856d021a1282cf3fb9a86701fff3ec403fe912.tar.gz abc-97856d021a1282cf3fb9a86701fff3ec403fe912.tar.bz2 abc-97856d021a1282cf3fb9a86701fff3ec403fe912.zip |
Silencing some of the gcc warnings.
Diffstat (limited to 'src/sat/bsat/satChecker.c')
-rw-r--r-- | src/sat/bsat/satChecker.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/sat/bsat/satChecker.c b/src/sat/bsat/satChecker.c index 7aec4a4d..f478928c 100644 --- a/src/sat/bsat/satChecker.c +++ b/src/sat/bsat/satChecker.c @@ -121,6 +121,7 @@ void Sat_ProofChecker( char * pFileName ) FILE * pFile; Vec_Vec_t * vClauses; int c, i, Num, RetValue, Counter, Counter2, Clause1, Clause2; + int RetValue; // open the file pFile = fopen( pFileName, "r" ); if ( pFile == NULL ) @@ -138,7 +139,7 @@ void Sat_ProofChecker( char * pFileName ) rewind( pFile ); for ( i = 1 ; ; i++ ) { - RetValue = fscanf( pFile, "%d", &Num ); + RetValue = RetValue = fscanf( pFile, "%d", &Num ); if ( RetValue != 1 ) break; assert( Num == i ); |