|
Karsten Hopp |
9218a9 |
To: vim_dev@googlegroups.com
|
|
Karsten Hopp |
9218a9 |
Subject: Patch 7.4.581
|
|
Karsten Hopp |
9218a9 |
Fcc: outbox
|
|
Karsten Hopp |
9218a9 |
From: Bram Moolenaar <Bram@moolenaar.net>
|
|
Karsten Hopp |
9218a9 |
Mime-Version: 1.0
|
|
Karsten Hopp |
9218a9 |
Content-Type: text/plain; charset=UTF-8
|
|
Karsten Hopp |
9218a9 |
Content-Transfer-Encoding: 8bit
|
|
Karsten Hopp |
9218a9 |
------------
|
|
Karsten Hopp |
9218a9 |
|
|
Karsten Hopp |
9218a9 |
Patch 7.4.581
|
|
Karsten Hopp |
9218a9 |
Problem: Compiler warnings for unitinialized variables. (John Little)
|
|
Karsten Hopp |
9218a9 |
Solution: Initialize the variables.
|
|
Karsten Hopp |
9218a9 |
Files: src/ops.c
|
|
Karsten Hopp |
9218a9 |
|
|
Karsten Hopp |
9218a9 |
|
|
Karsten Hopp |
9218a9 |
*** ../vim-7.4.580/src/ops.c 2014-12-17 21:00:44.989871256 +0100
|
|
Karsten Hopp |
9218a9 |
--- src/ops.c 2015-01-18 14:06:49.480786101 +0100
|
|
Karsten Hopp |
9218a9 |
***************
|
|
Karsten Hopp |
9218a9 |
*** 5663,5670 ****
|
|
Karsten Hopp |
9218a9 |
int set_prev = FALSE;
|
|
Karsten Hopp |
9218a9 |
char_u *str;
|
|
Karsten Hopp |
9218a9 |
char_u **array = NULL;
|
|
Karsten Hopp |
9218a9 |
! int new_type;
|
|
Karsten Hopp |
9218a9 |
! colnr_T new_width;
|
|
Karsten Hopp |
9218a9 |
|
|
Karsten Hopp |
9218a9 |
/* We only get here (hopefully) if line[0] == '"' */
|
|
Karsten Hopp |
9218a9 |
str = virp->vir_line + 1;
|
|
Karsten Hopp |
9218a9 |
--- 5663,5670 ----
|
|
Karsten Hopp |
9218a9 |
int set_prev = FALSE;
|
|
Karsten Hopp |
9218a9 |
char_u *str;
|
|
Karsten Hopp |
9218a9 |
char_u **array = NULL;
|
|
Karsten Hopp |
9218a9 |
! int new_type = MCHAR; /* init to shut up compiler */
|
|
Karsten Hopp |
9218a9 |
! colnr_T new_width = 0; /* init to shut up compiler */
|
|
Karsten Hopp |
9218a9 |
|
|
Karsten Hopp |
9218a9 |
/* We only get here (hopefully) if line[0] == '"' */
|
|
Karsten Hopp |
9218a9 |
str = virp->vir_line + 1;
|
|
Karsten Hopp |
9218a9 |
***************
|
|
Karsten Hopp |
9218a9 |
*** 5747,5752 ****
|
|
Karsten Hopp |
9218a9 |
--- 5747,5753 ----
|
|
Karsten Hopp |
9218a9 |
do_it = FALSE;
|
|
Karsten Hopp |
9218a9 |
}
|
|
Karsten Hopp |
9218a9 |
}
|
|
Karsten Hopp |
9218a9 |
+
|
|
Karsten Hopp |
9218a9 |
if (do_it)
|
|
Karsten Hopp |
9218a9 |
{
|
|
Karsten Hopp |
9218a9 |
/* free y_array[] */
|
|
Karsten Hopp |
9218a9 |
*** ../vim-7.4.580/src/version.c 2015-01-14 21:21:56.924743601 +0100
|
|
Karsten Hopp |
9218a9 |
--- src/version.c 2015-01-18 14:07:36.712268926 +0100
|
|
Karsten Hopp |
9218a9 |
***************
|
|
Karsten Hopp |
9218a9 |
*** 743,744 ****
|
|
Karsten Hopp |
9218a9 |
--- 743,746 ----
|
|
Karsten Hopp |
9218a9 |
{ /* Add new patch number below this line */
|
|
Karsten Hopp |
9218a9 |
+ /**/
|
|
Karsten Hopp |
9218a9 |
+ 581,
|
|
Karsten Hopp |
9218a9 |
/**/
|
|
Karsten Hopp |
9218a9 |
|
|
Karsten Hopp |
9218a9 |
--
|
|
Karsten Hopp |
9218a9 |
From "know your smileys":
|
|
Karsten Hopp |
9218a9 |
:-D Big smile
|
|
Karsten Hopp |
9218a9 |
|
|
Karsten Hopp |
9218a9 |
/// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
|
|
Karsten Hopp |
9218a9 |
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
|
|
Karsten Hopp |
9218a9 |
\\\ an exciting new programming language -- http://www.Zimbu.org ///
|
|
Karsten Hopp |
9218a9 |
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
|