]> git.michaelhowe.org Git - packages/o/openafs.git/commitdiff
STABLE14-rpmlint-try2-20090629
authorchristof.hanke@rzg.mpg.de <christof.hanke@rzg.mpg.de>
Mon, 29 Jun 2009 21:24:47 +0000 (21:24 +0000)
committerDerrick Brashear <shadow@dementia.org>
Mon, 29 Jun 2009 21:24:47 +0000 (21:24 +0000)
LICENSE IPL10
FIXES 124951

remove unneeded return; fix iob initialization for curpag pioctl

(cherry picked from commit 58024c16844a7298f04495ff9023e396a5391aff)

src/afs/afs_pioctl.c
src/auth/ktc.c

index bebc753fbc1f18bdb34bbef81aaaa16fc91400ae..ab4847129492054076786c52c43a363440ee0afa 100644 (file)
@@ -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 */
index 2eb6572a39fa9cd9a9d5dbf3939cc409a9a94f77..32574d5026df71721873985f4d1a290705942e1e 100644 (file)
@@ -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);