[evolution-data-server] CamelTextIndex: Fix dead nested assignment.



commit c435f1e36718783dfcaf55aa03e82ac542eac83c
Author: Matthew Barnes <mbarnes redhat com>
Date:   Sun Jan 30 17:41:22 2011 -0500

    CamelTextIndex: Fix dead nested assignment.

 camel/camel-text-index.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/camel/camel-text-index.c b/camel/camel-text-index.c
index e242669..666be15 100644
--- a/camel/camel-text-index.c
+++ b/camel/camel-text-index.c
@@ -1360,7 +1360,7 @@ camel_text_index_validate (CamelTextIndex *idx)
 			}
 		}
 
-		if ((oldword = g_hash_table_lookup (word_word, word)) != NULL) {
+		if (g_hash_table_lookup (word_word, word) != NULL) {
 			printf ("Warning, word '%s' occurs more than once\n", word);
 		} else {
 			g_hash_table_insert (word_word, word, word);



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