diff options
author | Bram Moolenaar <Bram@vim.org> | 2012-11-28 17:41:59 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2012-11-28 17:41:59 +0100 |
commit | 9411615985b0babcb391bd993b24ba75711fe50c (patch) | |
tree | b2572335477c2fd19fc6cdd9e8c80d6f743e76ad /src/quickfix.c | |
parent | d4ad0d4e219c7e5866155b9f5215d7e9b0b19b18 (diff) | |
download | vim-git-9411615985b0babcb391bd993b24ba75711fe50c.tar.gz |
updated for version 7.3.738v7.3.738
Problem: Unused function argument.
Solution: Remove it. (Christian Brabandt)
Diffstat (limited to 'src/quickfix.c')
-rw-r--r-- | src/quickfix.c | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/src/quickfix.c b/src/quickfix.c index 30a58458b..7dbdb9657 100644 --- a/src/quickfix.c +++ b/src/quickfix.c @@ -107,7 +107,7 @@ struct efm_S }; static int qf_init_ext __ARGS((qf_info_T *qi, char_u *efile, buf_T *buf, typval_T *tv, char_u *errorformat, int newlist, linenr_T lnumfirst, linenr_T lnumlast, char_u *qf_title)); -static void qf_new_list __ARGS((qf_info_T *qi, char_u *qf_title, win_T *wp)); +static void qf_new_list __ARGS((qf_info_T *qi, char_u *qf_title)); static void ll_free_all __ARGS((qf_info_T **pqi)); static int qf_add_entry __ARGS((qf_info_T *qi, qfline_T **prevp, char_u *dir, char_u *fname, int bufnum, char_u *mesg, long lnum, int col, int vis_col, char_u *pattern, int nr, int type, int valid)); static qf_info_T *ll_new_list __ARGS((void)); @@ -266,7 +266,7 @@ qf_init_ext(qi, efile, buf, tv, errorformat, newlist, lnumfirst, lnumlast, if (newlist || qi->qf_curlist == qi->qf_listcount) /* make place for a new list */ - qf_new_list(qi, qf_title, curwin); + qf_new_list(qi, qf_title); else if (qi->qf_lists[qi->qf_curlist].qf_count > 0) /* Adding to existing list, find last entry. */ for (qfprev = qi->qf_lists[qi->qf_curlist].qf_start; @@ -885,10 +885,9 @@ qf_init_end: * Prepare for adding a new quickfix list. */ static void -qf_new_list(qi, qf_title, wp) +qf_new_list(qi, qf_title) qf_info_T *qi; char_u *qf_title; - win_T *wp; { int i; @@ -3187,7 +3186,7 @@ ex_vimgrep(eap) eap->cmdidx != CMD_vimgrepadd && eap->cmdidx != CMD_lvimgrepadd) || qi->qf_curlist == qi->qf_listcount) /* make place for a new list */ - qf_new_list(qi, *eap->cmdlinep, curwin); + qf_new_list(qi, *eap->cmdlinep); else if (qi->qf_lists[qi->qf_curlist].qf_count > 0) /* Adding to existing list, find last entry. */ for (prevp = qi->qf_lists[qi->qf_curlist].qf_start; @@ -3753,7 +3752,7 @@ set_errorlist(wp, list, action, title) if (action == ' ' || qi->qf_curlist == qi->qf_listcount) /* make place for a new list */ - qf_new_list(qi, title, wp); + qf_new_list(qi, title); else if (action == 'a' && qi->qf_lists[qi->qf_curlist].qf_count > 0) /* Adding to existing list, find last entry. */ for (prevp = qi->qf_lists[qi->qf_curlist].qf_start; @@ -4035,7 +4034,7 @@ ex_helpgrep(eap) #endif /* create a new quickfix list */ - qf_new_list(qi, *eap->cmdlinep, wp); + qf_new_list(qi, *eap->cmdlinep); /* Go through all directories in 'runtimepath' */ p = p_rtp; |