]> git.pld-linux.org Git - packages/vim.git/blame - 7.0.064
- new
[packages/vim.git] / 7.0.064
CommitLineData
aac7cff9 1To: vim-dev@vim.org
2Subject: Patch 7.0.064
3Fcc: outbox
4From: Bram Moolenaar <Bram@moolenaar.net>
5Mime-Version: 1.0
6Content-Type: text/plain; charset=ISO-8859-1
7Content-Transfer-Encoding: 8bit
8------------
9
10Patch 7.0.064
11Problem: Using uninitialized variable. (Tony Mechelynck)
12Solution: When not used set "temp" to zero. Also avoid a warning for
13 "files" in ins_compl_dictionaries().
14Files: src/edit.c
15
16
17*** ../vim-7.0.063/src/edit.c Wed Aug 16 21:26:19 2006
18--- src/edit.c Thu Aug 17 22:28:34 2006
19***************
20*** 2760,2765 ****
21--- 2760,2766 ----
22 }
23 else
24 # endif
25+ if (count > 0) /* avoid warning for using "files" uninit */
26 {
27 ins_compl_files(count, files, thesaurus, flags,
28 &regmatch, buf, &dir);
29***************
30*** 3222,3228 ****
31 int c;
32 {
33 char_u *ptr;
34- int temp;
35 int want_cindent;
36 int retval = FALSE;
37
38--- 3223,3228 ----
39***************
40*** 3378,3383 ****
41--- 3378,3384 ----
42 if (compl_curr_match != NULL || compl_leader != NULL || c == Ctrl_E)
43 {
44 char_u *p;
45+ int temp = 0;
46
47 /*
48 * If any of the original typed text has been changed, eg when
49*** ../vim-7.0.063/src/version.c Wed Aug 16 22:03:35 2006
50--- src/version.c Tue Aug 22 19:56:05 2006
51***************
52*** 668,669 ****
53--- 668,671 ----
54 { /* Add new patch number below this line */
55+ /**/
56+ 64,
57 /**/
58
59--
60hundred-and-one symptoms of being an internet addict:
61200. You really believe in the concept of a "paperless" office.
62
63 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
64/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
65\\\ download, build and distribute -- http://www.A-A-P.org ///
66 \\\ help me help AIDS victims -- http://ICCF-Holland.org ///
This page took 0.0412130000000001 seconds and 4 git commands to generate.