From 505f53306638b41e0cd67e34de798bb30139fa00 Mon Sep 17 00:00:00 2001 From: "christof.hanke@rzg.mpg.de" Date: Mon, 29 Jun 2009 21:24:47 +0000 Subject: [PATCH] STABLE14-rpmlint-try2-20090629 LICENSE IPL10 FIXES 124951 remove unneeded return; fix iob initialization for curpag pioctl (cherry picked from commit 58024c16844a7298f04495ff9023e396a5391aff) --- src/afs/afs_pioctl.c | 1 - src/auth/ktc.c | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/src/afs/afs_pioctl.c b/src/afs/afs_pioctl.c index bebc753fb..ab4847129 100644 --- a/src/afs/afs_pioctl.c +++ b/src/afs/afs_pioctl.c @@ -751,7 +751,6 @@ afs_xioctl(void) #if defined(AFS_OSF_ENV) || defined(AFS_DARWIN_ENV) || defined(AFS_XBSD_ENV) return (code); #endif -return 0; } #endif /* AFS_SGI_ENV */ #endif /* AFS_HPUX102_ENV */ diff --git a/src/auth/ktc.c b/src/auth/ktc.c index 2eb6572a3..32574d502 100644 --- a/src/auth/ktc.c +++ b/src/auth/ktc.c @@ -1621,7 +1621,7 @@ ktc_curpag(void) afs_int32 pag; /* now setup for the pioctl */ - iob.in = -1; + iob.in = NULL; iob.in_size = 0; iob.out = &pag; iob.out_size = sizeof(afs_int32); -- 2.39.5