From 66697ecf25472974bb0414e68ca682e93e1b8c8d Mon Sep 17 00:00:00 2001 From: Ruben Kerkhof Date: Sat, 23 Apr 2016 12:33:49 +0200 Subject: [PATCH] match_value: condition is always true [src/match_value.c:338]: (style) Condition 'value_matches==0' is always true --- src/match_value.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/match_value.c b/src/match_value.c index 64e11367..fbe1f039 100644 --- a/src/match_value.c +++ b/src/match_value.c @@ -335,7 +335,7 @@ static int mv_match (const data_set_t *ds, const value_list_t *vl, /* {{{ */ if (m->satisfy == SATISFY_ANY) break; } - else if (value_matches == 0) + else { status = FC_MATCH_NO_MATCH; if (m->satisfy == SATISFY_ALL) -- 2.30.2