diff options
Diffstat (limited to 'src/quickfix.c')
-rw-r--r-- | src/quickfix.c | 12 |
1 files changed, 3 insertions, 9 deletions
diff --git a/src/quickfix.c b/src/quickfix.c index 5fc36bc5e0..8537a7c5a9 100644 --- a/src/quickfix.c +++ b/src/quickfix.c @@ -1899,7 +1899,6 @@ qf_list(eap) int i; int idx1 = 1; int idx2 = -1; - int need_return = TRUE; char_u *arg = eap->arg; int all = eap->forceit; /* if not :cl!, only show recognised errors */ @@ -1939,13 +1938,9 @@ qf_list(eap) { if ((qfp->qf_valid || all) && idx1 <= i && i <= idx2) { - if (need_return) - { - msg_putchar('\n'); - if (got_int) - break; - need_return = FALSE; - } + msg_putchar('\n'); + if (got_int) + break; fname = NULL; if (qfp->qf_fnum != 0 @@ -1988,7 +1983,6 @@ qf_list(eap) IObuff, IOSIZE); msg_prt_line(IObuff, FALSE); out_flush(); /* show one line at a time */ - need_return = TRUE; } qfp = qfp->qf_next; |