Author: emaste Date: Thu Sep 24 12:47:31 2015 New Revision: 288172 URL: https://svnweb.freebsd.org/changeset/base/288172
Log: MFC r287327: ar: Deobfuscate a while loop Modified: stable/10/usr.bin/ar/ar.c Directory Properties: stable/10/ (props changed) Modified: stable/10/usr.bin/ar/ar.c ============================================================================== --- stable/10/usr.bin/ar/ar.c Thu Sep 24 12:44:02 2015 (r288171) +++ stable/10/usr.bin/ar/ar.c Thu Sep 24 12:47:31 2015 (r288172) @@ -141,7 +141,7 @@ main(int argc, char **argv) ranlib_usage(); bsdar->options |= AR_S; - for (;(bsdar->filename = *argv++) != NULL;) + while ((bsdar->filename = *argv++) != NULL) ar_mode_s(bsdar); exit(EX_OK); _______________________________________________ svn-src-stable-10@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-stable-10 To unsubscribe, send any mail to "svn-src-stable-10-unsubscr...@freebsd.org"