diff options
author | Jan Edmund Lazo <jan.lazo@mail.utoronto.ca> | 2021-06-05 11:40:07 -0400 |
---|---|---|
committer | Jan Edmund Lazo <jan.lazo@mail.utoronto.ca> | 2021-06-05 12:49:27 -0400 |
commit | 5115bc3f4f648b92f4c1eb47cd37aa8b682343a2 (patch) | |
tree | b1666183ed6b29c39687da30045327660097b9ba | |
parent | 729f270266dac57a9b214dc69a9a2249fe1a1ce6 (diff) | |
download | rneovim-5115bc3f4f648b92f4c1eb47cd37aa8b682343a2.tar.gz rneovim-5115bc3f4f648b92f4c1eb47cd37aa8b682343a2.tar.bz2 rneovim-5115bc3f4f648b92f4c1eb47cd37aa8b682343a2.zip |
sign: pvs/v547
vim_strsave() returns nonnull.
-rw-r--r-- | src/nvim/sign.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/nvim/sign.c b/src/nvim/sign.c index 97e64c6c4c..15fd25e096 100644 --- a/src/nvim/sign.c +++ b/src/nvim/sign.c @@ -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; - } } } |