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