svn commit: r193223 - head/bin/sh
Andriy Gapon
avg at freebsd.org
Mon Jun 1 16:51:30 UTC 2009
on 01/06/2009 19:43 M. Warner Losh said the following:
> In message: <200906011111.n51BBkZt077175 at svn.freebsd.org>
> "Ralf S. Engelschall" <rse at FreeBSD.org> writes:
> : + for (p = start; *p && *p != ':' && *p != '%'; p++)
> : + ; /* nothing */
>
> C already has a way of saying this:
>
> for (p = start; *p && *p != ':' && *p != '%'; p++)
> contionue;
But style(9) is holy, must never been changed or deviated from.
Sorry about that :-)
P.S. the typo doesn't deserve any mentioning but just in case :-)
--
Andriy Gapon
More information about the svn-src-all
mailing list