summaryrefslogtreecommitdiffstats
path: root/src/sat/bsat/satChecker.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/sat/bsat/satChecker.c')
-rw-r--r--src/sat/bsat/satChecker.c3
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 );