From 54639deae93c8c630556b55c1bb12863ce9d039e Mon Sep 17 00:00:00 2001 From: Bozo Dragojevic Date: Wed, 17 Nov 2021 16:33:00 +0100 Subject: [PATCH] Remove unused variables --- Sources/Solvers/SolverDynamic.cpp | 3 --- Sources/Solvers/SolverStatic.cpp | 3 --- 2 files changed, 6 deletions(-) diff --git a/Sources/Solvers/SolverDynamic.cpp b/Sources/Solvers/SolverDynamic.cpp index 9c7f529..08f5b68 100644 --- a/Sources/Solvers/SolverDynamic.cpp +++ b/Sources/Solvers/SolverDynamic.cpp @@ -69,9 +69,6 @@ SolverDynamic::~SolverDynamic () // =========================================================================== void SolverDynamic::Solve_Start (Grid &grid, const Dictionary &dico) { - int count = 0; - Box *box = nullptr; - Solve_Stop (); // Use given grid and dictionary diff --git a/Sources/Solvers/SolverStatic.cpp b/Sources/Solvers/SolverStatic.cpp index e18e5b1..4344f5e 100644 --- a/Sources/Solvers/SolverStatic.cpp +++ b/Sources/Solvers/SolverStatic.cpp @@ -99,8 +99,6 @@ void SolverStatic::Solve_Stop () // =========================================================================== void SolverStatic::Solve_Start (Grid &grid, const Dictionary &dico) { - Box *box = nullptr; - Solve_Stop (); // Save dictionary and grid @@ -216,7 +214,6 @@ Status SolverStatic::Solve_Step (int32_t maxTimeMs, int32_t maxSteps) void SolverStatic::BackTrack () { unsigned int counter; - uint8_t mask[MAX_GRID_SIZE + 1]; // The first word we change must have direct interaction with the point of failure int targetCol = items [idxCurrentItem].posX + items [idxCurrentItem].bestPos + 1;