Skip to content

Commit

Permalink
Remove unused variables
Browse files Browse the repository at this point in the history
  • Loading branch information
bozzzzo committed Nov 17, 2021
1 parent ccaad47 commit 54639de
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 6 deletions.
3 changes: 0 additions & 3 deletions Sources/Solvers/SolverDynamic.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
3 changes: 0 additions & 3 deletions Sources/Solvers/SolverStatic.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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;
Expand Down

0 comments on commit 54639de

Please sign in to comment.