mirror of
https://github.com/MidnightCommander/mc
synced 2024-12-22 20:36:50 +03:00
(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:
parent
337da4491d
commit
4070d7bee5
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user