From: christof.hanke@rzg.mpg.de Date: Mon, 29 Jun 2009 21:24:23 +0000 (+0000) Subject: rpmlint-try2-20090629 X-Git-Tag: openafs-devel-1_5_61~192 X-Git-Url: https://git.michaelhowe.org/gitweb/?a=commitdiff_plain;h=58024c16844a7298f04495ff9023e396a5391aff;p=packages%2Fo%2Fopenafs.git rpmlint-try2-20090629 LICENSE IPL10 FIXES 124951 remove unneeded return; fix iob initialization for curpag pioctl --- diff --git a/src/afs/afs_pioctl.c b/src/afs/afs_pioctl.c index a19e16ad0..e9cc972ae 100644 --- a/src/afs/afs_pioctl.c +++ b/src/afs/afs_pioctl.c @@ -683,7 +683,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 f9952a967..5395d8214 100644 --- a/src/auth/ktc.c +++ b/src/auth/ktc.c @@ -1622,7 +1622,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);