diff options
author | Christian Ambach <ambi@samba.org> | 2011-07-15 16:12:46 +0200 |
---|---|---|
committer | Christian Ambach <ambi@samba.org> | 2011-07-21 14:55:08 +0200 |
commit | dcd10fa4e5bf3f687b5ef7be30ef0b24f1ae639e (patch) | |
tree | 52f4cc293574c2529adcf4032c5cc368fb32ad0b /source3 | |
parent | c5cbdc21d1b21034fb5f892a74d296cc94120696 (diff) | |
download | samba-dcd10fa4e5bf3f687b5ef7be30ef0b24f1ae639e.tar.gz samba-dcd10fa4e5bf3f687b5ef7be30ef0b24f1ae639e.tar.bz2 samba-dcd10fa4e5bf3f687b5ef7be30ef0b24f1ae639e.zip |
s3:modules/vfs_afsacl fix a compiler warning
Diffstat (limited to 'source3')
-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++; |