mirror of
https://github.com/vim/vim.git
synced 2025-09-24 03:44:06 -04:00
updated for version 7.4a.018
Problem: Compiler warning for code unreachable. (Charles Campbell) Solution: Use "while" instead of endless loop. Change break to continue.
This commit is contained in:
@@ -3739,7 +3739,7 @@ match_follows(startstate, depth)
|
|||||||
if (depth > 10)
|
if (depth > 10)
|
||||||
return FALSE;
|
return FALSE;
|
||||||
|
|
||||||
for (;;)
|
while (state != NULL)
|
||||||
{
|
{
|
||||||
switch (state->c)
|
switch (state->c)
|
||||||
{
|
{
|
||||||
@@ -3765,7 +3765,7 @@ match_follows(startstate, depth)
|
|||||||
case NFA_COMPOSING:
|
case NFA_COMPOSING:
|
||||||
/* skip ahead to next state */
|
/* skip ahead to next state */
|
||||||
state = state->out1->out;
|
state = state->out1->out;
|
||||||
break;
|
continue;
|
||||||
|
|
||||||
case NFA_ANY:
|
case NFA_ANY:
|
||||||
case NFA_IDENT:
|
case NFA_IDENT:
|
||||||
|
3
src/ui.c
3
src/ui.c
@@ -1467,8 +1467,9 @@ clip_gen_owner_exists(cbd)
|
|||||||
else
|
else
|
||||||
# endif
|
# endif
|
||||||
return clip_x11_owner_exists(cbd);
|
return clip_x11_owner_exists(cbd);
|
||||||
#endif
|
#else
|
||||||
return TRUE;
|
return TRUE;
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif /* FEAT_CLIPBOARD */
|
#endif /* FEAT_CLIPBOARD */
|
||||||
|
@@ -727,6 +727,8 @@ static char *(features[]) =
|
|||||||
|
|
||||||
static int included_patches[] =
|
static int included_patches[] =
|
||||||
{ /* Add new patch number below this line */
|
{ /* Add new patch number below this line */
|
||||||
|
/**/
|
||||||
|
18,
|
||||||
/**/
|
/**/
|
||||||
17,
|
17,
|
||||||
/**/
|
/**/
|
||||||
|
Reference in New Issue
Block a user