diff options
author | Jeff Layton <jlayton@samba.org> | 2012-11-07 10:19:20 -0500 |
---|---|---|
committer | Jeff Layton <jlayton@samba.org> | 2012-11-07 10:19:20 -0500 |
commit | 3759dfa1f6c4990d7dd017eeb341965673382b07 (patch) | |
tree | 4452f6a8019698c29318baaf3e9b8bd4c2423098 | |
parent | c74be6c4f2d75008772ce5f4224d36e2556d31ac (diff) | |
download | cifs-utils-3759dfa1f6c4990d7dd017eeb341965673382b07.tar.gz cifs-utils-3759dfa1f6c4990d7dd017eeb341965673382b07.tar.bz2 cifs-utils-3759dfa1f6c4990d7dd017eeb341965673382b07.zip |
setcifsacl: fix some build warnings
Signed-off-by: Jeff Layton <jlayton@samba.org>
-rw-r--r-- | setcifsacl.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/setcifsacl.c b/setcifsacl.c index 8891844..30d5905 100644 --- 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; |