0
0
mirror of https://github.com/vim/vim.git synced 2025-09-25 03:54:15 -04:00

updated for version 7.2.333

Problem:    Warnings from static code analysis.
Solution:   Small changes to various lines. (Dominique Pelle)
This commit is contained in:
Bram Moolenaar
2010-01-19 14:59:56 +01:00
parent 3ea38ef239
commit 2660c0ea9b
11 changed files with 19 additions and 28 deletions

View File

@@ -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;