[libdazzle] fuzzy: style cleanup



commit 2293ae276761e01eaaff94d416c61328fc0bae07
Author: Christian Hergert <chergert redhat com>
Date:   Sun Jun 4 19:55:54 2017 -0700

    fuzzy: style cleanup

 src/fuzzy/dzl-fuzzy-index-cursor.c |    4 +---
 1 files changed, 1 insertions(+), 3 deletions(-)
---
diff --git a/src/fuzzy/dzl-fuzzy-index-cursor.c b/src/fuzzy/dzl-fuzzy-index-cursor.c
index e7fdc31..243a2cf 100644
--- a/src/fuzzy/dzl-fuzzy-index-cursor.c
+++ b/src/fuzzy/dzl-fuzzy-index-cursor.c
@@ -403,9 +403,7 @@ dzl_fuzzy_index_cursor_worker (GTask        *task,
     {
       for (i = 0; i < lookup.tables_n_elements[0]; i++)
         {
-          const DzlFuzzyIndexItem *item;
-
-          item = &lookup.tables[0][i];
+          const DzlFuzzyIndexItem *item = &lookup.tables[0][i];
 
           fuzzy_do_match (&lookup, item, 1, MIN (16, item->position * 4));
         }


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