mirror of
https://github.com/vim/vim.git
synced 2025-09-28 04:24:06 -04:00
updated for version 7.3.1224
Problem: Clang gives warnings on xxd. Solution: Change how to use part of a string. (Dominique Pelle) Also avoid warning for return not reached.
This commit is contained in:
@@ -2611,7 +2611,7 @@ nfa_max_width(startstate, depth)
|
||||
if (depth > 4)
|
||||
return -1;
|
||||
|
||||
for (;;)
|
||||
while (state != NULL)
|
||||
{
|
||||
switch (state->c)
|
||||
{
|
||||
@@ -2810,7 +2810,7 @@ nfa_max_width(startstate, depth)
|
||||
state = state->out;
|
||||
}
|
||||
|
||||
/* unrecognized */
|
||||
/* unrecognized, "cannot happen" */
|
||||
return -1;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user