summaryrefslogtreecommitdiffstats
path: root/usr.bin/ar/replace.c
diff options
context:
space:
mode:
authorjkh <jkh@FreeBSD.org>1996-07-12 19:08:36 +0000
committerjkh <jkh@FreeBSD.org>1996-07-12 19:08:36 +0000
commit730964efd28b80be48ed35a215a362dde2b6b7a7 (patch)
treeb07c215aa55db3fb81db462f4bc70f61cd56c57f /usr.bin/ar/replace.c
parentc4d4a99d31762beef936f34571330923e9300da9 (diff)
downloadFreeBSD-src-730964efd28b80be48ed35a215a362dde2b6b7a7.zip
FreeBSD-src-730964efd28b80be48ed35a215a362dde2b6b7a7.tar.gz
General -Wall warning cleanup, part I.
Submitted-By: Kent Vander Velden <graphix@iastate.edu>
Diffstat (limited to 'usr.bin/ar/replace.c')
-rw-r--r--usr.bin/ar/replace.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.bin/ar/replace.c b/usr.bin/ar/replace.c
index a226235..b9a6cc6 100644
--- a/usr.bin/ar/replace.c
+++ b/usr.bin/ar/replace.c
@@ -141,7 +141,7 @@ useold: SETCF(afd, archive, curfd, tname, RPAD|WPAD);
}
/* Append any left-over arguments to the end of the after file. */
-append: while (file = *argv++) {
+append: while ( (file = *argv++) ) {
if (options & AR_V)
(void)printf("a - %s\n", file);
if ((sfd = open(file, O_RDONLY)) < 0) {
OpenPOWER on IntegriCloud