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

@@ -1557,7 +1557,7 @@ exec_pty(struct command_details *details,
/* Wait for parent to grant us the tty if we are foreground. */
if (foreground && !ISSET(details->flags, CD_EXEC_BG)) {
while (tcgetpgrp(io_fds[SFD_SLAVE]) != self)
; /* spin */
continue; /* spin */
}
/* We have guaranteed that the slave fd is > 2 */