[PATCH 1/2] setcifsacl: fix some build warnings

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Signed-off-by: Jeff Layton <jlayton@xxxxxxxxx>
---
 setcifsacl.c | 3 +--
 1 file changed, 1 insertion(+), 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;
 
-- 
1.7.12.1

--
To unsubscribe from this list: send the line "unsubscribe linux-cifs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux