summaryrefslogtreecommitdiffstats
path: root/usr.bin/printf
diff options
context:
space:
mode:
authorsteve <steve@FreeBSD.org>1996-10-06 02:40:39 +0000
committersteve <steve@FreeBSD.org>1996-10-06 02:40:39 +0000
commit9ff459e9a2d79c0a28ea9e4df8780d9fb5f8f0a5 (patch)
tree1d279c67359ed731d31d8529f42f2f8821785d05 /usr.bin/printf
parent49662693d9f1e004b037bebf6cc4663e64ae7baa (diff)
downloadFreeBSD-src-9ff459e9a2d79c0a28ea9e4df8780d9fb5f8f0a5.zip
FreeBSD-src-9ff459e9a2d79c0a28ea9e4df8780d9fb5f8f0a5.tar.gz
Remove annoying -Wall warning.
Diffstat (limited to 'usr.bin/printf')
-rw-r--r--usr.bin/printf/printf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.bin/printf/printf.c b/usr.bin/printf/printf.c
index 90e8c45..c4de8e1 100644
--- a/usr.bin/printf/printf.c
+++ b/usr.bin/printf/printf.c
@@ -257,7 +257,7 @@ escape(fmt)
register char *store;
register int value, c;
- for (store = fmt; c = *fmt; ++fmt, ++store) {
+ for (store = fmt; (c = *fmt); ++fmt, ++store) {
if (c != '\\') {
*store = c;
continue;
OpenPOWER on IntegriCloud