Patch 8.2.3636
Problem: Coverity warns for unreachable code.
Solution: Remove unreachable else block.
Files: src/gui_gtk_x11.c
*** ../vim-8.2.3635/src/gui_gtk_x11.c 2021-11-20 22:03:27.086292669 +0000
--- src/gui_gtk_x11.c 2021-11-21 11:14:47.726918284 +0000
***************
*** 5604,5610 ****
{
slen++; // ligature char by char
}
! else if (is_utf8)
{
if ((*(cs + slen) & 0xC0) == 0x80)
{
--- 5604,5610 ----
{
slen++; // ligature char by char
}
! else // is_utf8
{
if ((*(cs + slen) & 0xC0) == 0x80)
{
***************
*** 5638,5647 ****
slen++;
}
}
- else
- {
- slen++;
- }
}
else
{
--- 5638,5643 ----
*** ../vim-8.2.3635/src/version.c 2021-11-20 22:03:27.086292669 +0000
--- src/version.c 2021-11-21 11:15:27.374805037 +0000
***************
*** 759,760 ****
--- 759,762 ----
{ /* Add new patch number below this line */
+ /**/
+ 3636,
/**/
--
An indication you must be a manager:
You feel sorry for Dilbert's boss.
/// 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/20211121111624.105611C3DD7%40moolenaar.net.