mirror of
https://github.com/vim/vim.git
synced 2025-10-07 05:54:16 -04:00
patch 8.0.0666: dead for loop
Problem: Dead for loop. (Coverity) Solution: Remove the for loop.
This commit is contained in:
@@ -4600,8 +4600,6 @@ check_termcode(
|
||||
if (key_name[0] == KS_URXVT_MOUSE
|
||||
|| key_name[0] == KS_SGR_MOUSE
|
||||
|| key_name[0] == KS_SGR_MOUSE_RELEASE)
|
||||
{
|
||||
for (;;)
|
||||
{
|
||||
/* URXVT 1015 mouse reporting mode:
|
||||
* Almost identical to xterm mouse mode, except the values
|
||||
@@ -4651,9 +4649,6 @@ check_termcode(
|
||||
/* The modifiers were the mouse coordinates, not the
|
||||
* modifier keys (alt/shift/ctrl/meta) state. */
|
||||
modifiers = 0;
|
||||
|
||||
break;
|
||||
}
|
||||
}
|
||||
# endif
|
||||
|
||||
|
@@ -764,6 +764,8 @@ static char *(features[]) =
|
||||
|
||||
static int included_patches[] =
|
||||
{ /* Add new patch number below this line */
|
||||
/**/
|
||||
666,
|
||||
/**/
|
||||
665,
|
||||
/**/
|
||||
|
Reference in New Issue
Block a user