summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--xlators/nfs/server/src/auth-cache.c1
-rw-r--r--xlators/nfs/server/src/mount3.c1
2 files changed, 0 insertions, 2 deletions
diff --git a/xlators/nfs/server/src/auth-cache.c b/xlators/nfs/server/src/auth-cache.c
index 730e0a97d20..71e300ddf11 100644
--- a/xlators/nfs/server/src/auth-cache.c
+++ b/xlators/nfs/server/src/auth-cache.c
@@ -442,7 +442,6 @@ cache_nfs_fh (struct auth_cache *cache, struct nfs3_fh *fh,
{
int ret = -EINVAL;
char *hashkey = NULL;
- data_t *entry_data = NULL;
time_t timestamp = 0;
gf_boolean_t can_write = _gf_false;
struct auth_cache_entry *entry = NULL;
diff --git a/xlators/nfs/server/src/mount3.c b/xlators/nfs/server/src/mount3.c
index 2647e384a94..5b1da41ef1d 100644
--- a/xlators/nfs/server/src/mount3.c
+++ b/xlators/nfs/server/src/mount3.c
@@ -1524,7 +1524,6 @@ mnt3_resolve_subdir (rpcsvc_request_t *req, struct mount3_state *ms,
int ret = -EFAULT;
struct nfs3_fh pfh = GF_NFS3FH_STATIC_INITIALIZER;
struct sockaddr_in *sin = NULL;
- int len = -1;
if ((!req) || (!ms) || (!exp) || (!subdir))
return ret;