aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/tag.c
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2019-10-24 20:41:39 -0700
committerGitHub <noreply@github.com>2019-10-24 20:41:39 -0700
commit4f4f5ef4fd2f54db5d527768b4b1a94f737b3834 (patch)
tree8082f1361a4447847f676e8a577d11b59fd302fd /src/nvim/tag.c
parent53b025887e28888f8dba78ff57afc001d1a6428b (diff)
parentced2a38ad4dce6898c800dd68026c7b1823e484e (diff)
downloadrneovim-4f4f5ef4fd2f54db5d527768b4b1a94f737b3834.tar.gz
rneovim-4f4f5ef4fd2f54db5d527768b4b1a94f737b3834.tar.bz2
rneovim-4f4f5ef4fd2f54db5d527768b4b1a94f737b3834.zip
Merge #11213 from janlazo/vim-8.1.0014
vim-patch:8.1.{14,288,345,410,434,438,455}
Diffstat (limited to 'src/nvim/tag.c')
-rw-r--r--src/nvim/tag.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/nvim/tag.c b/src/nvim/tag.c
index 0d42deed2b..20fd7caa51 100644
--- a/src/nvim/tag.c
+++ b/src/nvim/tag.c
@@ -988,9 +988,7 @@ add_llist_tags(
cmd[len] = NUL;
}
- if ((dict = tv_dict_alloc()) == NULL) {
- continue;
- }
+ dict = tv_dict_alloc();
tv_list_append_dict(list, dict);
tv_dict_add_str(dict, S_LEN("text"), (const char *)tag_name);