diff options
-rw-r--r-- | source3/modules/vfs_afsacl.c | 3 |
1 files changed, 1 insertions, 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++; |