fdt: silence clang warning.
This commit is contained in:
parent
cb8b7e4e36
commit
68d54b55f4
1 changed files with 2 additions and 1 deletions
|
@ -309,7 +309,8 @@ advance_token (const void *fdt, const grub_uint32_t *token, const grub_uint32_t
|
|||
continue;
|
||||
}
|
||||
char *ptr;
|
||||
for (ptr = (char *) (token + 1); *ptr && ptr < (char *) end; ptr++);
|
||||
for (ptr = (char *) (token + 1); *ptr && ptr < (char *) end; ptr++)
|
||||
;
|
||||
if (ptr >= (char *) end)
|
||||
return 0;
|
||||
return token;
|
||||
|
|
Loading…
Reference in a new issue