summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2016-02-22 21:48:30 +0100
committerBram Moolenaar <Bram@vim.org>2016-02-22 21:48:30 +0100
commit4db20ab091330e460f08651d6052afd0536c507a (patch)
tree38fda9ec22e015fdb72457e49f000a44fec1bee9
parent33c31d5abf122806a4a1b4353e5bdc1dbb9468c0 (diff)
patch 7.4.1391v7.4.1391
Problem: Warning for uninitialzed variable. Solution: Set it to zero. (Christian Brabandt)
-rw-r--r--src/eval.c2
-rw-r--r--src/version.c2
2 files changed, 3 insertions, 1 deletions
diff --git a/src/eval.c b/src/eval.c
index 0a12ff9d4b..1a569bef15 100644
--- a/src/eval.c
+++ b/src/eval.c
@@ -9489,7 +9489,7 @@ f_asin(typval_T *argvars, typval_T *rettv)
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)
diff --git a/src/version.c b/src/version.c
index 2909149066..7af412b03b 100644
--- 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,