81c2858
To: vim-dev@vim.org
81c2858
Subject: Patch 7.2.197
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.197
81c2858
Problem:    Warning for uninitialized values.
81c2858
Solution:   Initialize all the struct items of typebuf.
81c2858
Files:	    src/globals.h
81c2858
81c2858
81c2858
*** ../vim-7.2.196/src/globals.h	2009-05-13 12:46:36.000000000 +0200
81c2858
--- src/globals.h	2009-06-10 15:52:18.000000000 +0200
81c2858
***************
81c2858
*** 960,966 ****
81c2858
  		    ;
81c2858
  EXTERN typebuf_T typebuf		/* typeahead buffer */
81c2858
  #ifdef DO_INIT
81c2858
! 		    = {NULL, NULL}
81c2858
  #endif
81c2858
  		    ;
81c2858
  #ifdef FEAT_EX_EXTRA
81c2858
--- 967,973 ----
81c2858
  		    ;
81c2858
  EXTERN typebuf_T typebuf		/* typeahead buffer */
81c2858
  #ifdef DO_INIT
81c2858
! 		    = {NULL, NULL, 0, 0, 0, 0, 0, 0, 0}
81c2858
  #endif
81c2858
  		    ;
81c2858
  #ifdef FEAT_EX_EXTRA
81c2858
*** ../vim-7.2.196/src/version.c	2009-06-03 22:07:38.000000000 +0200
81c2858
--- src/version.c	2009-06-10 18:14:58.000000000 +0200
81c2858
***************
81c2858
*** 678,679 ****
81c2858
--- 678,681 ----
81c2858
  {   /* Add new patch number below this line */
81c2858
+ /**/
81c2858
+     197,
81c2858
  /**/
81c2858
81c2858
-- 
81c2858
hundred-and-one symptoms of being an internet addict:
81c2858
18. Your wife drapes a blond wig over your monitor to remind you of what she
81c2858
    looks like.
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    ///