mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-12-28 00:16:15 +01:00
Remove unused variable in gvdb-reader
As originally committed against dconf by Owen. Newer GCC flags this.
This commit is contained in:
parent
03b6b9fb97
commit
3812559659
@ -87,7 +87,6 @@ gvdb_table_setup_root (GvdbTable *file,
|
||||
{
|
||||
const struct gvdb_hash_header *header;
|
||||
guint32 n_bloom_words;
|
||||
guint32 bloom_shift;
|
||||
guint32 n_buckets;
|
||||
gsize size;
|
||||
|
||||
@ -100,7 +99,6 @@ gvdb_table_setup_root (GvdbTable *file,
|
||||
|
||||
n_bloom_words = guint32_from_le (header->n_bloom_words);
|
||||
n_buckets = guint32_from_le (header->n_buckets);
|
||||
bloom_shift = n_bloom_words >> 27;
|
||||
n_bloom_words &= (1u << 27) - 1;
|
||||
|
||||
if G_UNLIKELY (n_bloom_words * sizeof (guint32_le) > size)
|
||||
|
Loading…
Reference in New Issue
Block a user