(apply_rules_going_right): fix deadcode.DeadStores warning.

syntax.c:523:25: warning: Value stored to 'found_right' is never read [deadcode.DeadStores]
                        found_right = TRUE;
                        ^             ~~~~

Found by Clang-11 analyzer.

Signed-off-by: Andreas Mohr <and@gmx.li>
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
This commit is contained in:
Andreas Mohr 2021-05-18 18:00:32 +00:00 committed by Andrew Borodin
parent 337da4491d
commit 4070d7bee5

View File

@ -525,7 +525,6 @@ apply_rules_going_right (WEdit * edit, off_t i)
if (e >= end && (_rule.keyword == 0 || keyword_foundright))
{
_rule.end = e;
found_right = TRUE;
_rule.border = RULE_ON_LEFT_BORDER;
_rule._context = count;
if (!r->between_delimiters && _rule.keyword == 0)