Commit b5ca2391 authored by Michael Lang's avatar Michael Lang
Browse files

fix unitialized value sometimes causing solver to exit and report game as unsolvable

parent f779df0f
......@@ -54,7 +54,7 @@ const auto SOFT_SUSPEND = FCS_STATE_SUSPEND_PROCESS;
/* Get the possible moves from a position, and store them in Possible[]. */
SolverInterface::ExitStatus FcSolveSolver::patsolve( int _max_positions )
int current_iters_count;
int current_iters_count = 0;
max_positions = (_max_positions < 0) ? default_max_positions : _max_positions;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment