Karsten Hopp 9554a3
To: vim_dev@googlegroups.com
Karsten Hopp 9554a3
Subject: Patch 7.3.1291
Karsten Hopp 9554a3
Fcc: outbox
Karsten Hopp 9554a3
From: Bram Moolenaar <Bram@moolenaar.net>
Karsten Hopp 9554a3
Mime-Version: 1.0
Karsten Hopp 9554a3
Content-Type: text/plain; charset=UTF-8
Karsten Hopp 9554a3
Content-Transfer-Encoding: 8bit
Karsten Hopp 9554a3
------------
Karsten Hopp 9554a3
Karsten Hopp 9554a3
Patch 7.3.1291 (after 7.3.1288)
Karsten Hopp 9554a3
Problem:    Compiler warnings for uninitialized variables. (Tony Mechelynck)
Karsten Hopp 9554a3
Solution:   Initialize the variables.
Karsten Hopp 9554a3
Files:	    src/screen.c
Karsten Hopp 9554a3
Karsten Hopp 9554a3
Karsten Hopp 9554a3
*** ../vim-7.3.1290/src/screen.c	2013-07-03 12:45:25.000000000 +0200
Karsten Hopp 9554a3
--- src/screen.c	2013-07-03 13:27:05.000000000 +0200
Karsten Hopp 9554a3
***************
Karsten Hopp 9554a3
*** 279,291 ****
Karsten Hopp 9554a3
      int		rows;
Karsten Hopp 9554a3
      int		r;
Karsten Hopp 9554a3
      int		ret = 0;
Karsten Hopp 9554a3
!     schar_T	*screenline;		/* copy from ScreenLines[] */
Karsten Hopp 9554a3
!     sattr_T	*screenattr;		/* copy from ScreenAttrs[] */
Karsten Hopp 9554a3
  #ifdef FEAT_MBYTE
Karsten Hopp 9554a3
      int		i;
Karsten Hopp 9554a3
!     u8char_T	*screenlineUC;		/* copy from ScreenLinesUC[] */
Karsten Hopp 9554a3
      u8char_T	*screenlineC[MAX_MCO];	/* copy from ScreenLinesC[][] */
Karsten Hopp 9554a3
!     schar_T	*screenline2;		/* copy from ScreenLines2[] */
Karsten Hopp 9554a3
  #endif
Karsten Hopp 9554a3
  
Karsten Hopp 9554a3
      redraw_later(type);
Karsten Hopp 9554a3
--- 279,291 ----
Karsten Hopp 9554a3
      int		rows;
Karsten Hopp 9554a3
      int		r;
Karsten Hopp 9554a3
      int		ret = 0;
Karsten Hopp 9554a3
!     schar_T	*screenline;	/* copy from ScreenLines[] */
Karsten Hopp 9554a3
!     sattr_T	*screenattr;	/* copy from ScreenAttrs[] */
Karsten Hopp 9554a3
  #ifdef FEAT_MBYTE
Karsten Hopp 9554a3
      int		i;
Karsten Hopp 9554a3
!     u8char_T	*screenlineUC = NULL;	/* copy from ScreenLinesUC[] */
Karsten Hopp 9554a3
      u8char_T	*screenlineC[MAX_MCO];	/* copy from ScreenLinesC[][] */
Karsten Hopp 9554a3
!     schar_T	*screenline2 = NULL;	/* copy from ScreenLines2[] */
Karsten Hopp 9554a3
  #endif
Karsten Hopp 9554a3
  
Karsten Hopp 9554a3
      redraw_later(type);
Karsten Hopp 9554a3
*** ../vim-7.3.1290/src/version.c	2013-07-03 13:16:18.000000000 +0200
Karsten Hopp 9554a3
--- src/version.c	2013-07-03 13:27:50.000000000 +0200
Karsten Hopp 9554a3
***************
Karsten Hopp 9554a3
*** 730,731 ****
Karsten Hopp 9554a3
--- 730,733 ----
Karsten Hopp 9554a3
  {   /* Add new patch number below this line */
Karsten Hopp 9554a3
+ /**/
Karsten Hopp 9554a3
+     1291,
Karsten Hopp 9554a3
  /**/
Karsten Hopp 9554a3
Karsten Hopp 9554a3
-- 
Karsten Hopp 9554a3
Mental Floss prevents moral decay!
Karsten Hopp 9554a3
Karsten Hopp 9554a3
 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
Karsten Hopp 9554a3
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
Karsten Hopp 9554a3
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
Karsten Hopp 9554a3
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///