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 -- [email protected] -- http://www.Moolenaar.net   \\\
///                                                                      \\\
\\\        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ ///
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_dev/20221129134758.B26081C14BB%40moolenaar.net.

Raspunde prin e-mail lui