diff options
-rw-r--r-- | apps/plugins/sudoku/sudoku.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/apps/plugins/sudoku/sudoku.c b/apps/plugins/sudoku/sudoku.c index cf9c51a2b9..4be10cc6c4 100644 --- a/apps/plugins/sudoku/sudoku.c +++ b/apps/plugins/sudoku/sudoku.c | |||
@@ -350,7 +350,9 @@ static bool spawn_option(Sudoku* sud, Stats* stats, const Options* options, | |||
350 | static bool solve(Sudoku* sud, Stats* stats, const Options* options) | 350 | static bool solve(Sudoku* sud, Stats* stats, const Options* options) |
351 | { | 351 | { |
352 | while (true){ | 352 | while (true){ |
353 | int x, y, i, num; | 353 | int x = 0; |
354 | int y = 0; | ||
355 | int i, num; | ||
354 | int places[SIZE]; | 356 | int places[SIZE]; |
355 | 357 | ||
356 | if (scan(sud, &x, &y, &num, places)){ | 358 | if (scan(sud, &x, &y, &num, places)){ |