diff options
Diffstat (limited to 'src/nvim/quickfix.c')
-rw-r--r-- | src/nvim/quickfix.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/nvim/quickfix.c b/src/nvim/quickfix.c index 0e40b8eb3e..492ac1e606 100644 --- a/src/nvim/quickfix.c +++ b/src/nvim/quickfix.c @@ -3239,8 +3239,7 @@ int get_errorlist(win_T *wp, list_T *list) if (bufnum != 0 && (buflist_findnr(bufnum) == NULL)) bufnum = 0; - if ((dict = dict_alloc()) == NULL) - return FAIL; + dict = dict_alloc(); list_append_dict(list, dict); buf[0] = qfp->qf_type; |