From: christof.hanke@rzg.mpg.de Date: Mon, 29 Jun 2009 21:24:47 +0000 (+0000) Subject: STABLE14-rpmlint-try2-20090629 X-Git-Tag: openafs-stable-1_4_11pre3~5 X-Git-Url: https://git.michaelhowe.org/gitweb/?a=commitdiff_plain;h=505f53306638b41e0cd67e34de798bb30139fa00;p=packages%2Fo%2Fopenafs.git STABLE14-rpmlint-try2-20090629 LICENSE IPL10 FIXES 124951 remove unneeded return; fix iob initialization for curpag pioctl (cherry picked from commit 58024c16844a7298f04495ff9023e396a5391aff) --- 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);