From 1e4214f1b29b20d14bfd943d940cf99f1405d16d Mon Sep 17 00:00:00 2001 From: Adam Dickmeiss Date: Wed, 13 Nov 2013 11:14:30 +0100 Subject: [PATCH] Remove unreachable code from relevance_snippet --- src/relevance.c | 8 -------- 1 file changed, 8 deletions(-) diff --git a/src/relevance.c b/src/relevance.c index 54bebb5..08527ae 100644 --- a/src/relevance.c +++ b/src/relevance.c @@ -102,15 +102,7 @@ int relevance_snippet(struct relevance *r, for (; entries; entries = entries->next, i++) { if (*norm_str && !strcmp(norm_str, entries->norm_str)) - { break; - if (!highlight) - { - highlight = 1; - wrbuf_puts(w_snippet, ""); - } - break; - } } if (entries) { -- 1.7.10.4