mirror of
https://github.com/sudo-project/sudo.git
synced 2025-09-05 00:35:14 +00:00
Replace bare ";" in the body of for() loops with "continue;" for
improved readability.
This commit is contained in:
@@ -49,7 +49,7 @@ sudo_strlcpy(char *dst, const char *src, size_t dsize)
|
||||
if (dsize != 0)
|
||||
*dst = '\0'; /* NUL-terminate dst */
|
||||
while (*src++)
|
||||
;
|
||||
continue;
|
||||
}
|
||||
|
||||
return(src - osrc - 1); /* count does not include NUL */
|
||||
|
Reference in New Issue
Block a user