mirror of
https://github.com/vim/vim.git
synced 2025-10-18 07:54:29 -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)
|
||||
return FALSE;
|
||||
|
||||
for (;;)
|
||||
while (state != NULL)
|
||||
{
|
||||
switch (state->c)
|
||||
{
|
||||
@@ -3765,7 +3765,7 @@ match_follows(startstate, depth)
|
||||
case NFA_COMPOSING:
|
||||
/* skip ahead to next state */
|
||||
state = state->out1->out;
|
||||
break;
|
||||
continue;
|
||||
|
||||
case NFA_ANY:
|
||||
case NFA_IDENT:
|
||||
|
Reference in New Issue
Block a user