Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/usr.bin/make Avoid unused variable warning



details:   https://anonhg.NetBSD.org/src/rev/f206b1aff80b
branches:  trunk
changeset: 829821:f206b1aff80b
user:      sjg <sjg%NetBSD.org@localhost>
date:      Tue Feb 13 19:37:30 2018 +0000

description:
Avoid unused variable warning

diffstat:

 usr.bin/make/meta.c |  4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diffs (19 lines):

diff -r e11b5e6feebf -r f206b1aff80b usr.bin/make/meta.c
--- a/usr.bin/make/meta.c       Tue Feb 13 17:39:38 2018 +0000
+++ b/usr.bin/make/meta.c       Tue Feb 13 19:37:30 2018 +0000
@@ -1,4 +1,4 @@
-/*      $NetBSD: meta.c,v 1.69 2017/08/10 21:07:48 sjg Exp $ */
+/*      $NetBSD: meta.c,v 1.70 2018/02/13 19:37:30 sjg Exp $ */
 
 /*
  * Implement 'meta' mode.
@@ -786,7 +786,9 @@
 {
     int error = 0;
     BuildMon *pbm = pbmp;
+#ifdef USE_FILEMON
     int x;
+#endif
 
     if (!pbm)
        pbm = &Mybm;



Home | Main Index | Thread Index | Old Index