sign: pvs/v547

vim_strsave() returns nonnull.
This commit is contained in:
Jan Edmund Lazo 2021-06-05 11:40:07 -04:00
parent 729f270266
commit 5115bc3f4f
No known key found for this signature in database
GPG Key ID: 64915E6E9F735B15

View File

@ -2012,9 +2012,6 @@ int sign_place_from_dict(
group = NULL;
} else {
group = vim_strsave(group);
if (group == NULL) {
return -1;
}
}
}
@ -2114,9 +2111,6 @@ int sign_unplace_from_dict(typval_T *group_tv, dict_T *dict)
group = NULL;
} else {
group = vim_strsave(group);
if (group == NULL) {
return -1;
}
}
}