Mercurial > vim
diff src/if_cscope.c @ 944:b2dcb8457067 v7.0.070
updated for version 7.0-070
author | vimboss |
---|---|
date | Tue, 29 Aug 2006 15:30:07 +0000 |
parents | 5a7843c57316 |
children | c37ed44f014f |
line wrap: on
line diff
--- a/src/if_cscope.c +++ b/src/if_cscope.c @@ -989,8 +989,7 @@ cs_find_common(opt, pat, forceit, verbos { 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, verbos else #endif /* FEAT_QUICKFIX */ { + char **matches = NULL, **contexts = NULL; + int matched = 0; + /* read output */ cs_fill_results((char *)pat, totmatches, nummatches, &matches, &contexts, &matched);