[glib: 1/4] Remove unused variable in gvdb-reader



commit 3812559659e645be223e34f12040c2d58fdc875c
Author: Ryan Lortie <desrt desrt ca>
Date:   Thu Feb 3 17:26:51 2011 -0500

    Remove unused variable in gvdb-reader
    
    As originally committed against dconf by Owen.
    
    Newer GCC flags this.

 gvdb-reader.c |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)
---
diff --git a/gvdb-reader.c b/gvdb-reader.c
index 264e87d..73f4f13 100644
--- a/gvdb-reader.c
+++ b/gvdb-reader.c
@@ -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)



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