components/vim/vim72-patches/7.2.193
author Danek Duvall <danek.duvall@oracle.com>
Thu, 07 Apr 2011 16:25:07 -0700
changeset 198 172fc01ce997
permissions -rw-r--r--
7016732 move vim from sfw to userland 7036367 vim is too big

To: [email protected]
Subject: Patch 7.2.193
Fcc: outbox
From: Bram Moolenaar <[email protected]>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
------------

Patch 7.2.193
Problem:    Warning for uninitialized values.
Solution:   Initialize all the struct items.
Files:	    src/eval.c


*** ../vim-7.2.192/src/eval.c	2009-06-03 13:22:22.000000000 +0200
--- src/eval.c	2009-05-29 21:13:47.000000000 +0200
***************
*** 286,292 ****
  #define VV_RO		2	/* read-only */
  #define VV_RO_SBX	4	/* read-only in the sandbox */
  
! #define VV_NAME(s, t)	s, {{t}}, {0}
  
  static struct vimvar
  {
--- 286,292 ----
  #define VV_RO		2	/* read-only */
  #define VV_RO_SBX	4	/* read-only in the sandbox */
  
! #define VV_NAME(s, t)	s, {{t, 0, {0}}, 0, {0}}, {0}
  
  static struct vimvar
  {
*** ../vim-7.2.192/src/version.c	2009-06-03 13:22:23.000000000 +0200
--- src/version.c	2009-06-03 14:25:18.000000000 +0200
***************
*** 678,679 ****
--- 678,681 ----
  {   /* Add new patch number below this line */
+ /**/
+     193,
  /**/

-- 
No engineer can take a shower without wondering if some sort of Teflon coating
would make showering unnecessary.
				(Scott Adams - The Dilbert principle)

 /// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net   \\\
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\        download, build and distribute -- http://www.A-A-P.org        ///
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///