summaryrefslogtreecommitdiff
path: root/src/if_cscope.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2006-08-29 15:30:07 +0000
committerBram Moolenaar <Bram@vim.org>2006-08-29 15:30:07 +0000
commit89d4032cae3f1e525978bea5015434af677faa44 (patch)
tree1dd68f886ab03aed49d4e5647ee6f5296742c9e0 /src/if_cscope.c
parent4100af7840a735cced72f1d20121850cea150a0d (diff)
downloadvim-git-89d4032cae3f1e525978bea5015434af677faa44.tar.gz
updated for version 7.0-070v7.0.070
Diffstat (limited to 'src/if_cscope.c')
-rw-r--r--src/if_cscope.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/if_cscope.c b/src/if_cscope.c
index 1eb3616e7..df3213c03 100644
--- a/src/if_cscope.c
+++ b/src/if_cscope.c
@@ -989,8 +989,7 @@ cs_find_common(opt, pat, forceit, verbose, use_ll)
{
int i;
char *cmd;
- char **matches, **contexts;
- int nummatches[CSCOPE_MAX_CONNECTIONS], totmatches, matched;
+ int nummatches[CSCOPE_MAX_CONNECTIONS], totmatches;
#ifdef FEAT_QUICKFIX
char cmdletter;
char *qfpos;
@@ -1141,6 +1140,9 @@ cs_find_common(opt, pat, forceit, verbose, use_ll)
else
#endif /* FEAT_QUICKFIX */
{
+ char **matches = NULL, **contexts = NULL;
+ int matched = 0;
+
/* read output */
cs_fill_results((char *)pat, totmatches, nummatches, &matches,
&contexts, &matched);