Source-Changes-HG archive

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

[src/trunk]: src/sbin/fsck_ext2fs Make pointer NULL check non-fatal for a bog...



details:   https://anonhg.NetBSD.org/src/rev/0ea10f51c5c3
branches:  trunk
changeset: 794066:0ea10f51c5c3
user:      joerg <joerg%NetBSD.org@localhost>
date:      Tue Mar 04 21:07:22 2014 +0000

description:
Make pointer NULL check non-fatal for a bogus condition.

diffstat:

 sbin/fsck_ext2fs/Makefile |  4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diffs (18 lines):

diff -r 88baaf6fcc89 -r 0ea10f51c5c3 sbin/fsck_ext2fs/Makefile
--- a/sbin/fsck_ext2fs/Makefile Tue Mar 04 21:06:47 2014 +0000
+++ b/sbin/fsck_ext2fs/Makefile Tue Mar 04 21:07:22 2014 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.16 2011/08/06 16:42:41 dholland Exp $
+#      $NetBSD: Makefile,v 1.17 2014/03/04 21:07:22 joerg Exp $
 #      @(#)Makefile    8.1 (Berkeley) 6/5/93
 
 .include <bsd.own.mk>
@@ -11,6 +11,8 @@
 CPPFLAGS+= -I${FSCK}
 .PATH: ${NETBSDSRCDIR}/sys/ufs/ext2fs ${FSCK}
 
+CWARNFLAGS.clang+=     -Wno-error=tautological-pointer-compare
+
 .include <bsd.prog.mk>
 
 LDADD+=-lutil



Home | Main Index | Thread Index | Old Index