summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
efdc98c)
We have an unnecessary semicolon on an empty for-loop, which causes a
clang warning.
Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
} else {
const char *tmp;
/* strip leading slashes */
} else {
const char *tmp;
/* strip leading slashes */
- for (tmp = s; *tmp == '/'; tmp++);
+ for (tmp = s; *tmp == '/'; tmp++)
;
new_url = pb_url_join(ctx, url, tmp);
}
;
new_url = pb_url_join(ctx, url, tmp);
}