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

@@ -160,7 +160,7 @@ rpl_setenv(const char *var, const char *val, int overwrite)
* just ignores the '=' and anything after it.
*/
for (src = var; *src != '\0' && *src != '='; src++)
;
continue;
esize = (size_t)(src - var) + 2;
if (val) {
esize += strlen(val); /* glibc treats a NULL val as "" */