81c2858
To: vim-dev@vim.org
81c2858
Subject: Patch 7.2.193
81c2858
Fcc: outbox
81c2858
From: Bram Moolenaar <Bram@moolenaar.net>
81c2858
Mime-Version: 1.0
81c2858
Content-Type: text/plain; charset=UTF-8
81c2858
Content-Transfer-Encoding: 8bit
81c2858
------------
81c2858
81c2858
Patch 7.2.193
81c2858
Problem:    Warning for uninitialized values.
81c2858
Solution:   Initialize all the struct items.
81c2858
Files:	    src/eval.c
81c2858
81c2858
81c2858
*** ../vim-7.2.192/src/eval.c	2009-06-03 13:22:22.000000000 +0200
81c2858
--- src/eval.c	2009-05-29 21:13:47.000000000 +0200
81c2858
***************
81c2858
*** 286,292 ****
81c2858
  #define VV_RO		2	/* read-only */
81c2858
  #define VV_RO_SBX	4	/* read-only in the sandbox */
81c2858
  
81c2858
! #define VV_NAME(s, t)	s, {{t}}, {0}
81c2858
  
81c2858
  static struct vimvar
81c2858
  {
81c2858
--- 286,292 ----
81c2858
  #define VV_RO		2	/* read-only */
81c2858
  #define VV_RO_SBX	4	/* read-only in the sandbox */
81c2858
  
81c2858
! #define VV_NAME(s, t)	s, {{t, 0, {0}}, 0, {0}}, {0}
81c2858
  
81c2858
  static struct vimvar
81c2858
  {
81c2858
*** ../vim-7.2.192/src/version.c	2009-06-03 13:22:23.000000000 +0200
81c2858
--- src/version.c	2009-06-03 14:25:18.000000000 +0200
81c2858
***************
81c2858
*** 678,679 ****
81c2858
--- 678,681 ----
81c2858
  {   /* Add new patch number below this line */
81c2858
+ /**/
81c2858
+     193,
81c2858
  /**/
81c2858
81c2858
-- 
81c2858
No engineer can take a shower without wondering if some sort of Teflon coating
81c2858
would make showering unnecessary.
81c2858
				(Scott Adams - The Dilbert principle)
81c2858
81c2858
 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
81c2858
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
81c2858
\\\        download, build and distribute -- http://www.A-A-P.org        ///
81c2858
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///