Source-Changes-HG archive

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

[src/trunk]: src/lib/libpam/libpam cast from strchr fixed.



details:   https://anonhg.NetBSD.org/src/rev/b85b52c3eaad
branches:  trunk
changeset: 1022884:b85b52c3eaad
user:      christos <christos%NetBSD.org@localhost>
date:      Wed Aug 11 09:12:07 2021 +0000

description:
cast from strchr fixed.

diffstat:

 lib/libpam/libpam/Makefile |  4 +---
 1 files changed, 1 insertions(+), 3 deletions(-)

diffs (18 lines):

diff -r 31f02d8160ca -r b85b52c3eaad lib/libpam/libpam/Makefile
--- a/lib/libpam/libpam/Makefile        Wed Aug 11 09:11:04 2021 +0000
+++ b/lib/libpam/libpam/Makefile        Wed Aug 11 09:12:07 2021 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.27 2021/08/11 05:23:05 rillig Exp $
+# $NetBSD: Makefile,v 1.28 2021/08/11 09:12:07 christos Exp $
 #-
 # Copyright (c) 1998 Juniper Networks, Inc.
 # All rights reserved.
@@ -54,8 +54,6 @@
 
 WARNS=         6
 LINTFLAGS+=    -w
-# warning: call to 'strchr' effectively discards 'const' from argument
-LINTFLAGS.pam_putenv.c+= -X 346
 
 CPPFLAGS+= -DLIB_MAJ=${SHLIB_MAJOR} -DHAVE_CONFIG_H -I${.CURDIR}
 #CPPFLAGS+= -DOPENPAM_DEBUG



Home | Main Index | Thread Index | Old Index