From: Danny Al-Gaaf Date: Tue, 19 Mar 2013 12:09:08 +0000 (+0100) Subject: mount/mount.ceph.c: remove unused variable X-Git-Tag: v0.60~29^2~4 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=4151630c58a995f30f7bee062be5b0c8f1d85f7c;p=ceph.git mount/mount.ceph.c: remove unused variable Signed-off-by: Danny Al-Gaaf --- diff --git a/src/mount/mount.ceph.c b/src/mount/mount.ceph.c index e42b2733c9e6..684792500ffe 100755 --- a/src/mount/mount.ceph.c +++ b/src/mount/mount.ceph.c @@ -83,7 +83,6 @@ static char *parse_options(const char *data, int *filesys_flags) char * next_keyword = NULL; char * out = NULL; int out_len = 0; - int word_len; int skip; int pos = 0; char *name = NULL; @@ -203,10 +202,6 @@ static char *parse_options(const char *data, int *filesys_flags) /* Copy (possibly modified) option to out */ if (!skip) { - word_len = strlen(data); - if (value) - word_len += 1 + strlen(value); - if (pos) pos = safe_cat(&out, &out_len, pos, ",");