From 3c4d58c38920f1dc18f39accc4aeb21ec29d08b8 Mon Sep 17 00:00:00 2001 From: "Todd C. Miller" Date: Tue, 18 Oct 2016 12:38:02 +0000 Subject: Use "continue;" instead of a bare ";" in the for() loop example with no body. --- share/man/man9/style.9 | 6 +++--- 1 file 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 (;;) { -- cgit v1.2.3