diff options
author | Eliseo Martínez <eliseomarmol@gmail.com> | 2015-01-23 14:31:03 +0100 |
---|---|---|
committer | Eliseo Martínez <eliseomarmol@gmail.com> | 2015-01-27 01:33:33 +0100 |
commit | 883e3a7a73ec246b3534bae9340b6c4e89c4c467 (patch) | |
tree | afa939e71ecba6736b620da34b0def6a2492360b /src/nvim/edit.c | |
parent | 73c6bd8a4223b0a3888fe70b62847ce1e22a1783 (diff) | |
download | rneovim-883e3a7a73ec246b3534bae9340b6c4e89c4c467.tar.gz rneovim-883e3a7a73ec246b3534bae9340b6c4e89c4c467.tar.bz2 rneovim-883e3a7a73ec246b3534bae9340b6c4e89c4c467.zip |
Remove nonnullret deadcode: xcalloc.
Diffstat (limited to 'src/nvim/edit.c')
-rw-r--r-- | src/nvim/edit.c | 14 |
1 files changed, 6 insertions, 8 deletions
diff --git a/src/nvim/edit.c b/src/nvim/edit.c index 4a00a54e79..fa4e4b2835 100644 --- a/src/nvim/edit.c +++ b/src/nvim/edit.c @@ -2432,14 +2432,12 @@ void ins_compl_show_pum(void) } } - if (compl_match_array != NULL) { - /* Compute the screen column of the start of the completed text. - * Use the cursor to get all wrapping and other settings right. */ - col = curwin->w_cursor.col; - curwin->w_cursor.col = compl_col; - pum_display(compl_match_array, compl_match_arraysize, cur); - curwin->w_cursor.col = col; - } + /* Compute the screen column of the start of the completed text. + * Use the cursor to get all wrapping and other settings right. */ + col = curwin->w_cursor.col; + curwin->w_cursor.col = compl_col; + pum_display(compl_match_array, compl_match_arraysize, cur); + curwin->w_cursor.col = col; } #define DICT_FIRST (1) /* use just first element in "dict" */ |