Files
gtk/gtk/roaring
Benjamin Otte 6c06e1855e roaring: Fix a compiler warning
This is a simple fix, I did not investigate if NULL is actually possible
here.

In function ‘bitset_container_empty’,
    inlined from ‘bitset_container_const_nonzero_cardinality’ at ../gtk/roaring/roaring.h:1942:13,
    inlined from ‘container_nonzero_cardinality’ at ../gtk/roaring/roaring.h:4055:20,
    inlined from ‘roaring_bitmap_lazy_xor’ at ../gtk/roaring/roaring.c:9727:17:
../gtk/roaring/roaring.h:1928:13: error: potential null pointer dereference [-Werror=null-dereference]
 1928 |   if (bitset->cardinality == BITSET_UNKNOWN_CARDINALITY) {
      |       ~~~~~~^~~~~~~~~~~~~
2024-08-06 17:53:41 +02:00
..
2024-08-06 17:53:41 +02:00

Roaring bitmaps implementation

This directory contains code modified for GTK, based on the Roaring bitmaps reference implementation CRoaring.

It is not necessarily compatible with past or future versions of CRoaring, and replacing it with a different version or linking to a system copy is not supported.

See the source files for copyright and licensing information, and the COPYING file for the full text of the Apache license, version 2.0.

When proposing modifications for these files, please consider whether they are also suitable for submission to CRoaring.