Date: Thu, 24 Sep 2015 12:47:32 +0000 (UTC) From: Ed Maste <emaste@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-10@freebsd.org Subject: svn commit: r288172 - stable/10/usr.bin/ar Message-ID: <201509241247.t8OClWbJ028329@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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);
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201509241247.t8OClWbJ028329>