From ced2a38ad4dce6898c800dd68026c7b1823e484e Mon Sep 17 00:00:00 2001 From: Jan Edmund Lazo Date: Thu, 24 Oct 2019 07:26:22 -0400 Subject: tag: fix pvs/v547 error --- src/nvim/tag.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'src') 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); -- cgit