Skip to content

Commit

Permalink
Merge pull request #82 from parmentelat/unused-var
Browse files Browse the repository at this point in the history
remove declaration of unused variable that  triggers a build-time warning
jwg4 authored Nov 30, 2023

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
2 parents 0561acc + 14d9cb0 commit a9c94d3
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
@@ -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));

0 comments on commit a9c94d3

Please sign in to comment.