git.samba.org
/
jlayton
/
cifs-utils.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c74be6c
)
setcifsacl: fix some build warnings
author
Jeff Layton
<jlayton@samba.org>
Wed, 7 Nov 2012 15:19:20 +0000
(10:19 -0500)
committer
Jeff Layton
<jlayton@samba.org>
Wed, 7 Nov 2012 15:19:20 +0000
(10:19 -0500)
Signed-off-by: Jeff Layton <jlayton@samba.org>
setcifsacl.c
patch
|
blob
|
history
diff --git
a/setcifsacl.c
b/setcifsacl.c
index 8891844c8d44318df2cb36c67ce203a269501f17..30d5905f9980c99f120f47ba74af790abb4692c7 100644
(file)
--- a/
setcifsacl.c
+++ b/
setcifsacl.c
@@
-641,7
+641,7
@@
build_cmdline_aces_ret:
static char **
parse_cmdline_aces(char *acelist, int numcaces)
{
- int i = 0
, len
;
+ int i = 0;
char *acestr, *vacestr, **arrptr = NULL;
arrptr = (char **)malloc(numcaces * sizeof(char *));
@@
-677,7
+677,6
@@
parse_cmdline_aces_err:
static unsigned int
get_numcaces(const char *aces)
{
- int i, len;
unsigned int num = 1;
const char *current;