Date: Mon, 31 Aug 2015 18:07:17 +0000 (UTC) From: Ed Maste <emaste@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r287327 - head/usr.bin/ar Message-ID: <201508311807.t7VI7Hms018396@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: emaste Date: Mon Aug 31 18:07:17 2015 New Revision: 287327 URL: https://svnweb.freebsd.org/changeset/base/287327 Log: ar: Deobfuscate a while loop Modified: head/usr.bin/ar/ar.c Modified: head/usr.bin/ar/ar.c ============================================================================== --- head/usr.bin/ar/ar.c Mon Aug 31 17:30:13 2015 (r287326) +++ head/usr.bin/ar/ar.c Mon Aug 31 18:07:17 2015 (r287327) @@ -148,7 +148,7 @@ main(int argc, char **argv) if (Uflag == 0) bsdar->options |= AR_D; bsdar->options |= AR_S; - for (;(bsdar->filename = *argv++) != NULL;) + while ((bsdar->filename = *argv++) != NULL) ar_mode_s(bsdar); exit(EX_OK);
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201508311807.t7VI7Hms018396>