From dcd10fa4e5bf3f687b5ef7be30ef0b24f1ae639e Mon Sep 17 00:00:00 2001 From: Christian Ambach Date: Fri, 15 Jul 2011 16:12:46 +0200 Subject: s3:modules/vfs_afsacl fix a compiler warning --- source3/modules/vfs_afsacl.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/source3/modules/vfs_afsacl.c b/source3/modules/vfs_afsacl.c index a1fc689eab..00bad5c364 100644 --- a/source3/modules/vfs_afsacl.c +++ b/source3/modules/vfs_afsacl.c @@ -303,11 +303,10 @@ static bool unparse_afs_acl(struct afs_acl *acl, char *acl_str) int positives = 0; int negatives = 0; fstring line; + struct afs_ace *ace = acl->acelist; *acl_str = 0; - struct afs_ace *ace = acl->acelist; - while (ace != NULL) { if (ace->positive) positives++; -- cgit