[libdazzle] fuzzy: cleanup declarations
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libdazzle] fuzzy: cleanup declarations
- Date: Sun, 4 Jun 2017 06:53:30 +0000 (UTC)
commit 58bebbc3dd9db0506a915768cdea53d3364d59f5
Author: Christian Hergert <chergert redhat com>
Date: Sat Jun 3 23:52:55 2017 -0700
fuzzy: cleanup declarations
src/fuzzy/dzl-fuzzy-index-cursor.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/fuzzy/dzl-fuzzy-index-cursor.c b/src/fuzzy/dzl-fuzzy-index-cursor.c
index 5fd6a9e..c8f9e20 100644
--- a/src/fuzzy/dzl-fuzzy-index-cursor.c
+++ b/src/fuzzy/dzl-fuzzy-index-cursor.c
@@ -420,12 +420,12 @@ dzl_fuzzy_index_cursor_worker (GTask *task,
{
guint lookaside_id = GPOINTER_TO_UINT (key);
guint score = GPOINTER_TO_UINT (value);
+ guint penalty = ((lookaside_id & 0xFF000000) >> 24) + 1;
DzlFuzzyMatch match;
union {
gpointer ptr;
gfloat fval;
} other_score;
- guint penalty = ((lookaside_id & 0xFF000000) >> 24) + 1;
if G_UNLIKELY (!_dzl_fuzzy_index_resolve (self->index,
lookaside_id,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]