[dconf] Remove unused variable
- From: Owen Taylor <otaylor src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [dconf] Remove unused variable
- Date: Fri, 28 Jan 2011 21:49:21 +0000 (UTC)
commit a6b6f296792f2f5dc985812d5d221819be970593
Author: Owen W. Taylor <otaylor fishsoup net>
Date: Fri Jan 28 16:17:56 2011 -0500
Remove unused variable
The unused bloom_shift variable was causing compiler warnings with GCC 4.6
gvdb/gvdb-reader.c | 2 --
1 files changed, 0 insertions(+), 2 deletions(-)
---
diff --git a/gvdb/gvdb-reader.c b/gvdb/gvdb-reader.c
index 264e87d..73f4f13 100644
--- a/gvdb/gvdb-reader.c
+++ b/gvdb/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]