summaryrefslogtreecommitdiffstats
path: root/share/man/man9/style.9
diff options
context:
space:
mode:
authormillert <millert@openbsd.org>2016-10-18 12:38:01 +0000
committermillert <millert@openbsd.org>2016-10-18 12:38:01 +0000
commit21ea12f3ab75f492182508a0c2037f2fdbd7f031 (patch)
treeee23fdd6c0e634424ca0c2d333ba2d0962542971 /share/man/man9/style.9
parentThe variable dlen is always positive and d may be negative. So (diff)
downloadwireguard-openbsd-21ea12f3ab75f492182508a0c2037f2fdbd7f031.tar.xz
wireguard-openbsd-21ea12f3ab75f492182508a0c2037f2fdbd7f031.zip
Use "continue;" instead of a bare ";" in the for() loop example
with no body.
Diffstat (limited to '')
-rw-r--r--share/man/man9/style.96
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 (;;) {