commit | 37199894317db555723e5ec99f88cbbb2a2a9670 | [log] [tgz] |
---|---|---|
author | Bram Moolenaar <Bram@vim.org> | Tue Nov 29 13:46:48 2022 +0000 |
committer | Bram Moolenaar <Bram@vim.org> | Tue Nov 29 13:46:48 2022 +0000 |
tree | e81456955a1c7d641744750e7c618b2055ffb39c | |
parent | 28a896f54d4b2f2b4bef8ef4144dde1673c9d6e7 [diff] [blame] |
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 index 0cde18d..5589af6 100644 --- a/src/if_py_both.h +++ b/src/if_py_both.h
@@ -5274,7 +5274,7 @@ { char_u *val; aco_save_T aco; - int ren_ret; + int ren_ret = OK; PyObject *todecref; if (!(val = StringToChars(valObject, &todecref)))