Mercurial > vim
changeset 938:fc0c566b9107 v7.0.064
updated for version 7.0-064
author | vimboss |
---|---|
date | Tue, 22 Aug 2006 17:55:55 +0000 |
parents | de8224965034 |
children | 31208ed42de9 |
files | src/edit.c src/version.c |
diffstat | 2 files changed, 4 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/edit.c +++ b/src/edit.c @@ -2760,6 +2760,7 @@ ins_compl_dictionaries(dict_start, pat, } else # endif + if (count > 0) /* avoid warning for using "files" uninit */ { ins_compl_files(count, files, thesaurus, flags, ®match, buf, &dir); @@ -3222,7 +3223,6 @@ ins_compl_prep(c) int c; { char_u *ptr; - int temp; int want_cindent; int retval = FALSE; @@ -3378,6 +3378,7 @@ ins_compl_prep(c) if (compl_curr_match != NULL || compl_leader != NULL || c == Ctrl_E) { char_u *p; + int temp = 0; /* * If any of the original typed text has been changed, eg when