From 0672e13367c4347a7a13577b460d042b232be5c1 Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Sun, 24 Nov 2013 17:28:19 -0500 Subject: splint fixups - no logic changes. --- gpsd.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'gpsd.c') diff --git a/gpsd.c b/gpsd.c index d7fce5f8..22fe14f9 100644 --- a/gpsd.c +++ b/gpsd.c @@ -2047,10 +2047,12 @@ int main(int argc, char *argv[]) * of any compromises in the code. It requires that all GPS * devices have their group read/write permissions set. */ + /*@-nullpass@*/ if (setgroups(0, NULL) != 0) gpsd_report(context.debug, LOG_ERROR, "setgroups() failed, errno %s\n", strerror(errno)); + /*@+nullpass@*/ /*@-type@*/ #ifdef GPSD_GROUP { -- cgit v1.2.1