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