[gtk/wip/otte/bitset] xxx



commit 89d66815d2ade07fc816ec7696c71ea6265bf044
Author: Benjamin Otte <otte redhat com>
Date:   Fri Jun 26 05:31:42 2020 +0200

    xxx

 gtk/roaring.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/gtk/roaring.c b/gtk/roaring.c
index 0c5bb12142..e93ab34c0a 100644
--- a/gtk/roaring.c
+++ b/gtk/roaring.c
@@ -6655,7 +6655,7 @@ run_container_t *run_container_create_given_capacity(int32_t size) {
     /* Allocate the run container itself. */
     run = (run_container_t *)malloc(sizeof(run_container_t));
     assert (run);
-    if (size <= 0 ) { // we don't want to rely on malloc(0)
+    if (size <= 0 ) // we don't want to rely on malloc(0)
         run->runs = NULL;
     run->runs = (rle16_t *)malloc(sizeof(rle16_t) * size);
     assert (run->runs);


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]