rpmlint-try2-20090629

LICENSE IPL10
FIXES 124951

remove unneeded return; fix iob initialization for curpag pioctl
This commit is contained in:
christof.hanke@rzg.mpg.de 2009-06-29 21:24:23 +00:00 committed by Derrick Brashear
parent a50fa631ca
commit 58024c1684
2 changed files with 1 additions and 2 deletions

View File

@ -683,7 +683,6 @@ afs_xioctl(void)
#if defined(AFS_OSF_ENV) || defined(AFS_DARWIN_ENV) || defined(AFS_XBSD_ENV) #if defined(AFS_OSF_ENV) || defined(AFS_DARWIN_ENV) || defined(AFS_XBSD_ENV)
return (code); return (code);
#endif #endif
return 0;
} }
#endif /* AFS_SGI_ENV */ #endif /* AFS_SGI_ENV */
#endif /* AFS_HPUX102_ENV */ #endif /* AFS_HPUX102_ENV */

View File

@ -1622,7 +1622,7 @@ ktc_curpag(void)
afs_int32 pag; afs_int32 pag;
/* now setup for the pioctl */ /* now setup for the pioctl */
iob.in = -1; iob.in = NULL;
iob.in_size = 0; iob.in_size = 0;
iob.out = &pag; iob.out = &pag;
iob.out_size = sizeof(afs_int32); iob.out_size = sizeof(afs_int32);