Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
lemire committed Jul 29, 2024
1 parent f5403ad commit f69c730
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/containers/array.c
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ int array_container_shrink_to_fit(array_container_t *src) {

/* Free memory. */
void array_container_free(array_container_t *arr) {
if(arr == NULL) return;
if (arr == NULL) return;
roaring_free(arr->array);
roaring_free(arr);
}
Expand Down
2 changes: 1 addition & 1 deletion src/containers/bitset.c
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ void bitset_container_add_from_range(bitset_container_t *bitset, uint32_t min,

/* Free memory. */
void bitset_container_free(bitset_container_t *bitset) {
if(bitset == NULL) return;
if (bitset == NULL) return;
roaring_aligned_free(bitset->words);
roaring_free(bitset);
}
Expand Down
2 changes: 1 addition & 1 deletion src/containers/run.c
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ void run_container_offset(const run_container_t *c, container_t **loc,

/* Free memory. */
void run_container_free(run_container_t *run) {
if(run == NULL) return;
if (run == NULL) return;
roaring_free(run->runs);
roaring_free(run);
}
Expand Down

0 comments on commit f69c730

Please sign in to comment.