git.samba.org
/
mat
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c5cbdc2
)
s3:modules/vfs_afsacl fix a compiler warning
author
Christian Ambach
<ambi@samba.org>
Fri, 15 Jul 2011 14:12:46 +0000
(16:12 +0200)
committer
Christian Ambach
<ambi@samba.org>
Thu, 21 Jul 2011 12:55:08 +0000
(14:55 +0200)
source3/modules/vfs_afsacl.c
patch
|
blob
|
history
diff --git
a/source3/modules/vfs_afsacl.c
b/source3/modules/vfs_afsacl.c
index a1fc689eab352d1d7259bc81042d34d054f9fcfa..00bad5c364ec2dced95ce8bd6a6c7879bc55f15b 100644
(file)
--- 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++;