Patch 9.0.0501
Problem:    Warning for using uninitialized value in mouse test.
Solution:   Clear ScreenCols when allocating it. (Dominique Pellé)
Files:      src/screen.c


*** ../vim-9.0.0500/src/screen.c        2022-09-11 21:35:47.558255161 +0100
--- src/screen.c        2022-09-19 11:41:48.675196800 +0100
***************
*** 2708,2714 ****
      if (enc_dbcs == DBCS_JPNU)
        new_ScreenLines2 = LALLOC_MULT(schar_T, (Rows + 1) * Columns);
      new_ScreenAttrs = LALLOC_MULT(sattr_T, (Rows + 1) * Columns);
!     new_ScreenCols = LALLOC_MULT(colnr_T, (Rows + 1) * Columns);
      new_LineOffset = LALLOC_MULT(unsigned, Rows);
      new_LineWraps = LALLOC_MULT(char_u, Rows);
      new_TabPageIdxs = LALLOC_MULT(short, Columns);
--- 2708,2716 ----
      if (enc_dbcs == DBCS_JPNU)
        new_ScreenLines2 = LALLOC_MULT(schar_T, (Rows + 1) * Columns);
      new_ScreenAttrs = LALLOC_MULT(sattr_T, (Rows + 1) * Columns);
!     // Clear ScreenCols to avoid a warning for unitialized memory in
!     // jump_to_mouse().
!     new_ScreenCols = LALLOC_CLEAR_MULT(colnr_T, (Rows + 1) * Columns);
      new_LineOffset = LALLOC_MULT(unsigned, Rows);
      new_LineWraps = LALLOC_MULT(char_u, Rows);
      new_TabPageIdxs = LALLOC_MULT(short, Columns);
*** ../vim-9.0.0500/src/version.c       2022-09-18 15:03:18.351501363 +0100
--- src/version.c       2022-09-19 11:12:51.054185520 +0100
***************
*** 701,702 ****
--- 701,704 ----
  {   /* Add new patch number below this line */
+ /**/
+     501,
  /**/

-- 
I AM THANKFUL...
...for the piles of laundry and ironing because it means I
have plenty of clothes to wear.

 /// Bram Moolenaar -- b...@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    ///

-- 
-- 
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 vim_dev+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_dev/20220919104440.17B711C0852%40moolenaar.net.

Raspunde prin e-mail lui