# HG changeset patch # User Bram Moolenaar # Date 1669730405 -3600 # Node ID 25b9669741b27a5876855ca9fbf2da7033a5c0a1 # Parent ae2feb57b4df52b1e80ead49ee823dff5e75304e patch 9.0.0970: Coverity warns for uninitialized variable Commit: https://github.com/vim/vim/commit/37199894317db555723e5ec99f88cbbb2a2a9670 Author: Bram Moolenaar Date: Tue Nov 29 13:46:48 2022 +0000 patch 9.0.0970: Coverity warns for uninitialized variable Problem: Coverity warns for uninitialized variable. Solution: Initialize "ren_ret". diff --git a/src/if_py_both.h b/src/if_py_both.h --- a/src/if_py_both.h +++ b/src/if_py_both.h @@ -5274,7 +5274,7 @@ BufferSetattr(BufferObject *self, char * { 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 --- a/src/version.c +++ b/src/version.c @@ -696,6 +696,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 970, +/**/ 969, /**/ 968,