Skip to content

Commit

Permalink
remove declaration of unused variable that triggers a build-time warning
Browse files Browse the repository at this point in the history
  • Loading branch information
parmentelat committed Nov 19, 2023
1 parent 0561acc commit 14d9cb0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/dlx.c
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ int dlx_get_exact_cover(int rows, int cols, char matrix[], int *solution) {

int dlx_get_solution_count(int rows, int cols, char matrix[]) {
list sparse_matrix;
int solution_length;
// int solution_length;
int solution_count = 0;
int *solution = malloc(rows * sizeof(*solution));

Expand Down

0 comments on commit 14d9cb0

Please sign in to comment.