quickfix: Fix PVS/V560: remove duplicate condition

Condition was checked in surrounding if().
This commit is contained in:
ZyX
2018-04-02 00:31:29 +03:00
parent 6b84f7813c
commit bf160dd668

View File

@@ -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);