diff options
author | Todd C. Miller <millert@cvs.openbsd.org> | 2016-10-18 12:38:02 +0000 |
---|---|---|
committer | Todd C. Miller <millert@cvs.openbsd.org> | 2016-10-18 12:38:02 +0000 |
commit | 3c4d58c38920f1dc18f39accc4aeb21ec29d08b8 (patch) | |
tree | 69fb898d89fbaa3f88b18ada28a27d0526f02220 /share/man/man9 | |
parent | 6e907c67af158952eff91962f88facffb732e132 (diff) |
Use "continue;" instead of a bare ";" in the for() loop example
with no body.
Diffstat (limited to 'share/man/man9')
-rw-r--r-- | share/man/man9/style.9 | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/share/man/man9/style.9 b/share/man/man9/style.9 index a3c6da2e263..26e4a950fbd 100644 --- a/share/man/man9/style.9 +++ b/share/man/man9/style.9 @@ -22,9 +22,9 @@ .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\" SUCH DAMAGE. .\" -.\" $OpenBSD: style.9,v 1.66 2016/08/24 16:14:24 renato Exp $ +.\" $OpenBSD: style.9,v 1.67 2016/10/18 12:38:01 millert Exp $ .\" -.Dd $Mdocdate: August 24 2016 $ +.Dd $Mdocdate: October 18 2016 $ .Dt STYLE 9 .Os .Sh NAME @@ -297,7 +297,7 @@ used for control statements with zero or only a single statement unless that statement is more than a single line, in which case they are permitted. .Bd -literal -offset indent for (p = buf; *p != '\e0'; ++p) - ; /* nothing */ + continue; for (;;) stmt; for (;;) { |