From f69c730692749b08b55724bb111d0b1fc2773f19 Mon Sep 17 00:00:00 2001 From: Daniel Lemire Date: Mon, 29 Jul 2024 19:20:25 -0400 Subject: [PATCH] lint --- src/containers/array.c | 2 +- src/containers/bitset.c | 2 +- src/containers/run.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/containers/array.c b/src/containers/array.c index 93476fbd..4b5e5bc5 100644 --- a/src/containers/array.c +++ b/src/containers/array.c @@ -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); } diff --git a/src/containers/bitset.c b/src/containers/bitset.c index 00fabec2..7b84af82 100644 --- a/src/containers/bitset.c +++ b/src/containers/bitset.c @@ -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); } diff --git a/src/containers/run.c b/src/containers/run.c index d78e45ea..986db6d1 100644 --- a/src/containers/run.c +++ b/src/containers/run.c @@ -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); }