diff --git a/src/afs/afs_icl.c b/src/afs/afs_icl.c index 08a1660206..d7ea167a52 100644 --- a/src/afs/afs_icl.c +++ b/src/afs/afs_icl.c @@ -858,8 +858,6 @@ afs_icl_CopyOut(struct afs_icl_log *logp, afs_int32 * bufferp, memcpy((char *)bufferp, (char *)&logp->datap[ix], sizeof(afs_int32) * nwords); outWords += nwords; - inWords -= nwords; - bufferp += nwords; } ReleaseWriteLock(&logp->lock); diff --git a/src/kauth/knfs.c b/src/kauth/knfs.c index 020ab3c8c2..5933b3ebfa 100644 --- a/src/kauth/knfs.c +++ b/src/kauth/knfs.c @@ -133,7 +133,6 @@ GetTokens(afs_int32 ahost, afs_int32 auid) memcpy(tbuffer, pheader, sizeof(pheader)); tp = tbuffer + sizeof(pheader); memcpy(tp, &index, sizeof(afs_int32)); - tp += sizeof(afs_int32); iob.in = tbuffer; iob.in_size = sizeof(afs_int32) + sizeof(pheader); iob.out = tbuffer;