diff options
author | Ryan Lortie <desrt@desrt.ca> | 2011-02-03 17:25:19 -0500 |
---|---|---|
committer | Ryan Lortie <desrt@desrt.ca> | 2011-02-03 17:25:19 -0500 |
commit | 62461b1906edb394da3485567e1199890bd8244c (patch) | |
tree | 3343777951d845182eefc33c7e04c84df0c02c74 | |
parent | cf0eb5cce184198b2b3394bb30936ae58d649339 (diff) | |
download | dconf-62461b1906edb394da3485567e1199890bd8244c.tar.gz |
Revert "Remove unused variable"
This reverts commit a6b6f296792f2f5dc985812d5d221819be970593.
-rw-r--r-- | gvdb/gvdb-reader.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gvdb/gvdb-reader.c b/gvdb/gvdb-reader.c index 73f4f13..264e87d 100644 --- a/gvdb/gvdb-reader.c +++ b/gvdb/gvdb-reader.c @@ -87,6 +87,7 @@ gvdb_table_setup_root (GvdbTable *file, { const struct gvdb_hash_header *header; guint32 n_bloom_words; + guint32 bloom_shift; guint32 n_buckets; gsize size; @@ -99,6 +100,7 @@ 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) |