projects
/
pazpar2-moved-to-github.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ad64ba8
)
Remove unreachable code from relevance_snippet
author
Adam Dickmeiss
<adam@indexdata.dk>
Wed, 13 Nov 2013 10:14:30 +0000
(11:14 +0100)
committer
Adam Dickmeiss
<adam@indexdata.dk>
Wed, 13 Nov 2013 10:14:30 +0000
(11:14 +0100)
src/relevance.c
patch
|
blob
|
history
diff --git
a/src/relevance.c
b/src/relevance.c
index
54bebb5
..
08527ae
100644
(file)
--- 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, "<match>");
- }
- break;
- }
}
if (entries)
{