summaryrefslogtreecommitdiffstats
path: root/src/bool
diff options
context:
space:
mode:
authorAlan Mishchenko <alanmi@berkeley.edu>2019-03-04 14:29:57 -0800
committerAlan Mishchenko <alanmi@berkeley.edu>2019-03-04 14:29:57 -0800
commitbc288a76332b1684b0183084aee0a4f46c617b62 (patch)
treedd8054d1408836d7e1bdc51eb6b2af2fb351eb70 /src/bool
parent9842e82326b8e0a6605460888ae56757cb9a9a0f (diff)
downloadabc-bc288a76332b1684b0183084aee0a4f46c617b62.tar.gz
abc-bc288a76332b1684b0183084aee0a4f46c617b62.tar.bz2
abc-bc288a76332b1684b0183084aee0a4f46c617b62.zip
Suggested white-space changes for fewer gcc warnings.
Diffstat (limited to 'src/bool')
-rw-r--r--src/bool/kit/kitTruth.c2
-rw-r--r--src/bool/lucky/lucky.c4
2 files changed, 3 insertions, 3 deletions
diff --git a/src/bool/kit/kitTruth.c b/src/bool/kit/kitTruth.c
index 87b28135..dbf013fe 100644
--- a/src/bool/kit/kitTruth.c
+++ b/src/bool/kit/kitTruth.c
@@ -639,7 +639,7 @@ int Kit_TruthVarIsVacuous( unsigned * pOnset, unsigned * pOffset, int nVars, int
for ( i = 0; i < nWords; i++ )
if ( ((pOnset[i] & (pOffset[i] >> 2)) | (pOffset[i] & (pOnset[i] >> 2))) & 0x33333333 )
return 0;
- return 1;
+ return 1;
case 2:
for ( i = 0; i < nWords; i++ )
if ( ((pOnset[i] & (pOffset[i] >> 4)) | (pOffset[i] & (pOnset[i] >> 4))) & 0x0F0F0F0F )
diff --git a/src/bool/lucky/lucky.c b/src/bool/lucky/lucky.c
index 49eec996..7db08b9a 100644
--- a/src/bool/lucky/lucky.c
+++ b/src/bool/lucky/lucky.c
@@ -56,7 +56,7 @@ int memCompare(word* x, word* y, int nVars)
tempWord = a[i];
count++;
}
- p->nFuncs = count;
+ p->nFuncs = count;
}
//////////sort Word** a//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
int compareWords2 (const void ** x, const void ** y)
@@ -94,7 +94,7 @@ void sortAndUnique(word** a, Abc_TtStore_t* p)
tempWordPtr = a[i];
count++;
}
- p->nFuncs = count;
+ p->nFuncs = count;
}
///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////