changeset 8196:cbb2f84da063 v7.4.1391

commit https://github.com/vim/vim/commit/4db20ab091330e460f08651d6052afd0536c507a Author: Bram Moolenaar <Bram@vim.org> Date: Mon Feb 22 21:48:30 2016 +0100 patch 7.4.1391 Problem: Warning for uninitialzed variable. Solution: Set it to zero. (Christian Brabandt)
author Christian Brabandt <cb@256bit.org>
date Mon, 22 Feb 2016 22:00:04 +0100
parents 82aeeeb703e0
children d1ddce7e5416
files src/eval.c src/version.c
diffstat 2 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/eval.c
+++ b/src/eval.c
@@ -9489,7 +9489,7 @@ f_asin(typval_T *argvars, typval_T *rett
     static void
 f_atan(typval_T *argvars, typval_T *rettv)
 {
-    float_T	f;
+    float_T	f = 0.0;
 
     rettv->v_type = VAR_FLOAT;
     if (get_float_arg(argvars, &f) == OK)
--- a/src/version.c
+++ b/src/version.c
@@ -749,6 +749,8 @@ static char *(features[]) =
 static int included_patches[] =
 {   /* Add new patch number below this line */
 /**/
+    1391,
+/**/
     1390,
 /**/
     1389,