mirror of
https://github.com/neovim/neovim.git
synced 2024-12-20 03:05:11 -07:00
sign: pvs/v547
vim_strsave() returns nonnull.
This commit is contained in:
parent
729f270266
commit
5115bc3f4f
@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user