0
0
mirror of https://github.com/vim/vim.git synced 2025-09-27 04:14: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:
Bram Moolenaar
2013-06-21 18:31:23 +02:00
parent d73895ec00
commit fe70acb376
3 changed files with 6 additions and 4 deletions

View File

@@ -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;
}