summaryrefslogtreecommitdiffstats
path: root/src/opt/lpk/lpkAbcDsd.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/opt/lpk/lpkAbcDsd.c')
-rw-r--r--src/opt/lpk/lpkAbcDsd.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/opt/lpk/lpkAbcDsd.c b/src/opt/lpk/lpkAbcDsd.c
index f4095914..46d9179a 100644
--- a/src/opt/lpk/lpkAbcDsd.c
+++ b/src/opt/lpk/lpkAbcDsd.c
@@ -43,7 +43,11 @@
***********************************************************************/
int Lpk_FunComputeMinSuppSizeVar( Lpk_Fun_t * p, unsigned ** ppTruths, int nTruths, unsigned ** ppCofs, unsigned uNonDecSupp )
{
- int i, Var, VarBest, nSuppSize0, nSuppSize1, nSuppTotalMin, nSuppTotalCur, nSuppMaxMin, nSuppMaxCur;
+ int i, Var, VarBest, nSuppSize0, nSuppSize1;
+ int nSuppTotalMin = -1; // Suppress "might be used uninitialized"
+ int nSuppTotalCur;
+ int nSuppMaxMin = -1; // Suppress "might be used uninitialized"
+ int nSuppMaxCur;
assert( nTruths > 0 );
VarBest = -1;
Lpk_SuppForEachVar( p->uSupp, Var )