roaring: Mark a variable as unused
authorMatthias Clasen <mclasen@redhat.com>
Thu, 18 May 2023 12:34:48 +0000 (08:34 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Thu, 18 May 2023 12:34:48 +0000 (08:34 -0400)
Otherwise clang complains.

gtk/roaring/roaring.c

index 17eec65ca8563c24d48aaca3b5e797e55420e0e2..349530ca323ef788157e1e23f2ba75e51ef3159b 100644 (file)
@@ -4543,7 +4543,7 @@ void *convert_run_optimize(void *c, uint8_t typecode_original,
 
         int long_ctr = 0;
         uint64_t cur_word = c_qua_bitset->array[0];
-        int run_count = 0;
+        G_GNUC_UNUSED int run_count = 0;
         while (true) {
             while (cur_word == UINT64_C(0) &&
                    long_ctr < BITSET_CONTAINER_SIZE_IN_WORDS - 1)