Patch 9.0.0970

2 views
Skip to first unread message

Bram Moolenaar

unread,
Nov 29, 2022, 8:48:12 AM11/29/22
to vim...@googlegroups.com

Patch 9.0.0970
Problem: Coverity warns for uninitialized variable.
Solution: Initialize "ren_ret".
Files: src/if_py_both.h


*** ../vim-9.0.0969/src/if_py_both.h 2022-11-28 18:51:38.967571631 +0000
--- src/if_py_both.h 2022-11-29 13:43:30.178191613 +0000
***************
*** 5274,5280 ****
{
char_u *val;
aco_save_T aco;
! int ren_ret;
PyObject *todecref;

if (!(val = StringToChars(valObject, &todecref)))
--- 5274,5280 ----
{
char_u *val;
aco_save_T aco;
! int ren_ret = OK;
PyObject *todecref;

if (!(val = StringToChars(valObject, &todecref)))
*** ../vim-9.0.0969/src/version.c 2022-11-28 22:20:07.186252879 +0000
--- src/version.c 2022-11-29 13:45:55.506211897 +0000
***************
*** 697,698 ****
--- 697,700 ----
{ /* Add new patch number below this line */
+ /**/
+ 970,
/**/

--
If Microsoft would build a car...
... Occasionally, executing a maneuver such as a left turn
would cause your car to shut down and refuse to restart, in
which case you would have to reinstall the engine.

/// Bram Moolenaar -- Br...@Moolenaar.net -- http://www.Moolenaar.net \\\
/// \\\
\\\ sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ ///
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
Reply all
Reply to author
Forward
0 new messages