diff --git a/ssc/cmod_6parsolve.cpp b/ssc/cmod_6parsolve.cpp index b695173f3..4e2cd669f 100644 --- a/ssc/cmod_6parsolve.cpp +++ b/ssc/cmod_6parsolve.cpp @@ -108,7 +108,7 @@ class cm_6parsolve : public compute_module int err = m.solve_with_sanity_and_heuristics(300, 1e-7); int err_keys[10] = { -1, -2, -3, -4, -5, -6, -7, -33, -44, -55 }; - int x; + int x=0; for (int i = 0; i < 10; i++) if (err_keys[i] == err) x = i;