]> git.pld-linux.org Git - packages/vim.git/blob - 7.2.193
- new
[packages/vim.git] / 7.2.193
1 To: vim-dev@vim.org
2 Subject: Patch 7.2.193
3 Fcc: outbox
4 From: Bram Moolenaar <Bram@moolenaar.net>
5 Mime-Version: 1.0
6 Content-Type: text/plain; charset=UTF-8
7 Content-Transfer-Encoding: 8bit
8 ------------
9
10 Patch 7.2.193
11 Problem:    Warning for uninitialized values.
12 Solution:   Initialize all the struct items.
13 Files:      src/eval.c
14
15
16 *** ../vim-7.2.192/src/eval.c   2009-06-03 13:22:22.000000000 +0200
17 --- src/eval.c  2009-05-29 21:13:47.000000000 +0200
18 ***************
19 *** 286,292 ****
20   #define VV_RO         2       /* read-only */
21   #define VV_RO_SBX     4       /* read-only in the sandbox */
22   
23 ! #define VV_NAME(s, t) s, {{t}}, {0}
24   
25   static struct vimvar
26   {
27 --- 286,292 ----
28   #define VV_RO         2       /* read-only */
29   #define VV_RO_SBX     4       /* read-only in the sandbox */
30   
31 ! #define VV_NAME(s, t) s, {{t, 0, {0}}, 0, {0}}, {0}
32   
33   static struct vimvar
34   {
35 *** ../vim-7.2.192/src/version.c        2009-06-03 13:22:23.000000000 +0200
36 --- src/version.c       2009-06-03 14:25:18.000000000 +0200
37 ***************
38 *** 678,679 ****
39 --- 678,681 ----
40   {   /* Add new patch number below this line */
41 + /**/
42 +     193,
43   /**/
44
45 -- 
46 No engineer can take a shower without wondering if some sort of Teflon coating
47 would make showering unnecessary.
48                                 (Scott Adams - The Dilbert principle)
49
50  /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
51 ///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
52 \\\        download, build and distribute -- http://www.A-A-P.org        ///
53  \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///
This page took 0.024999 seconds and 3 git commands to generate.