Patch 9.0.0378 (after 9.0.0374)
Problem: Compiler warning for uninitialized variable. (Tony Mechelynck)
Solution: Initialize it.
Files: src/spellfile.c
*** ../vim-9.0.0377/src/spellfile.c 2022-09-04 11:55:16.154941174 +0100
--- src/spellfile.c 2022-09-04 13:43:56.063482484 +0100
***************
*** 841,847 ****
read_region_section(FILE *fd, slang_T *lp, int len)
{
int i;
! int c;
if (len > MAXREGIONS * 2)
return SP_FORMERROR;
--- 841,847 ----
read_region_section(FILE *fd, slang_T *lp, int len)
{
int i;
! int c = 0;
if (len > MAXREGIONS * 2)
return SP_FORMERROR;
*** ../vim-9.0.0377/src/version.c 2022-09-04 13:41:31.183585396 +0100
--- src/version.c 2022-09-04 13:44:57.163434661 +0100
***************
*** 705,706 ****
--- 705,708 ----
{ /* Add new patch number below this line */
+ /**/
+ 378,
/**/
--
I think that you'll agree that engineers are very effective in their social
interactions. It's the "normal" people who are nuts.
(Scott Adams - The Dilbert principle)
/// 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/20220904124607.8AFDF1C0CE4%40moolenaar.net.