tag: fix pvs/v1048

This commit is contained in:
Jan Edmund Lazo
2019-12-22 21:11:18 -05:00
parent 33f6c25af8
commit 8758e96bf0

View File

@@ -2537,8 +2537,6 @@ parse_match(
tagp->command_end = p; tagp->command_end = p;
if (p > tagp->command && p[-1] == '|') { if (p > tagp->command && p[-1] == '|') {
tagp->command_end = p - 1; // drop trailing bar tagp->command_end = p - 1; // drop trailing bar
} else {
tagp->command_end = p;
} }
p += 2; // skip ";\"" p += 2; // skip ";\""
if (*p++ == TAB) { if (*p++ == TAB) {