mirror of
https://github.com/neovim/neovim.git
synced 2025-09-16 16:28:17 +00:00
quickfix: Fix PVS/V560: remove duplicate condition
Condition was checked in surrounding if().
This commit is contained in:
@@ -924,7 +924,7 @@ restofline:
|
||||
if (qfprev == NULL) {
|
||||
return QF_FAIL;
|
||||
}
|
||||
if (*fields->errmsg && !qi->qf_multiignore) {
|
||||
if (*fields->errmsg) {
|
||||
size_t len = STRLEN(qfprev->qf_text);
|
||||
qfprev->qf_text = xrealloc(qfprev->qf_text,
|
||||
len + STRLEN(fields->errmsg) + 2);
|
||||
|
Reference in New Issue
Block a user