Avoid empty loop.

This commit is contained in:
joerg 2016-02-06 18:23:26 +00:00
parent 66313330f0
commit 9ba8249836
1 changed files with 2 additions and 1 deletions

View File

@ -421,7 +421,8 @@ dtrace_process_dof_probe (struct objfile *objfile,
arg.type_str = xstrdup (p);
/* Use strtab_size as a sentinel. */
while (*p++ != '\0' && p - strtab < strtab_size);
while (*p != '\0' && p - strtab < strtab_size)
++p;
/* Try to parse a type expression from the type string. If
this does not work then we set the type to `long