Replace bare ";" in the body of for() loops with "continue;" for

improved readability.
This commit is contained in:
Todd C. Miller
2016-10-26 10:42:28 -06:00
parent f9d6777755
commit fc1b4155d7
8 changed files with 13 additions and 13 deletions

View File

@@ -573,13 +573,13 @@ print_defaults_list_json(FILE *fp, struct defaults *def, int indent)
do {
/* Remove leading blanks, must have a non-empty string. */
for (start = end; isblank((unsigned char)*start); start++)
;
continue;
if (*start == '\0')
break;
/* Find the end and print it. */
for (end = start; *end && !isblank((unsigned char)*end); end++)
;
continue;
savech = *end;
*end = '\0';
print_string_json(fp, start);