Patch 7.4.1292
Problem: Some compilers complain about uninitialzed variable, even though
all possible cases are handled. (Dominique Pelle)
Solution: Add a default initialization.
Files: src/eval.c
*** ../vim-7.4.1291/src/eval.c 2016-02-07 22:30:42.296100155 +0100
--- src/eval.c 2016-02-08 22:56:37.934782055 +0100
***************
*** 10611,10617 ****
static void
f_empty(typval_T *argvars, typval_T *rettv)
{
! int n;
switch (argvars[0].v_type)
{
--- 10611,10617 ----
static void
f_empty(typval_T *argvars, typval_T *rettv)
{
! int n = FALSE;
switch (argvars[0].v_type)
{
***************
*** 19935,19941 ****
static void
f_type(typval_T *argvars, typval_T *rettv)
{
! int n;
switch (argvars[0].v_type)
{
--- 19935,19941 ----
static void
f_type(typval_T *argvars, typval_T *rettv)
{
! int n = -1;
switch (argvars[0].v_type)
{
***************
*** 24952,24958 ****
hashitem_T *hi;
dictitem_T *this_var;
int todo;
! char *s;
char_u *p;
char_u *tofree;
char_u numbuf[NUMBUFLEN];
--- 24952,24958 ----
hashitem_T *hi;
dictitem_T *this_var;
int todo;
! char *s = "";
char_u *p;
char_u *tofree;
char_u numbuf[NUMBUFLEN];
*** ../vim-7.4.1291/src/version.c 2016-02-08 22:37:19.518943174 +0100
--- src/version.c 2016-02-08 22:55:14.683655005 +0100
***************
*** 749,750 ****
--- 749,752 ----
{ /* Add new patch number below this line */
+ /**/
+ 1292,
/**/
--
What is the difference between a professional and an amateur?
The ark was built by an amateur; professionals gave us the Titanic.
/// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net \\\
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\ an exciting new programming language -- http://www.Zimbu.org ///
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
--
--
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
---
You received this message because you are subscribed to the Google Groups
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.