From 37199894317db555723e5ec99f88cbbb2a2a9670 Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Tue, 29 Nov 2022 13:46:48 +0000 Subject: [PATCH] patch 9.0.0970: Coverity warns for uninitialized variable Problem: Coverity warns for uninitialized variable. Solution: Initialize "ren_ret". --- src/if_py_both.h | 2 +- src/version.c | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/src/if_py_both.h b/src/if_py_both.h index 0cde18d05..5589af678 100644 --- a/src/if_py_both.h +++ b/src/if_py_both.h @@ -5274,7 +5274,7 @@ BufferSetattr(BufferObject *self, char *name, PyObject *valObject) { char_u *val; aco_save_T aco; - int ren_ret; + int ren_ret = OK; PyObject *todecref; if (!(val = StringToChars(valObject, &todecref))) diff --git a/src/version.c b/src/version.c index 78df0d8c6..7ac20cdf6 100644 --- a/src/version.c +++ b/src/version.c @@ -695,6 +695,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 970, /**/ 969, /**/ -- 2.40.0