summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--cli/src/cli-rpc-ops.c2
-rw-r--r--rpc/rpc-lib/src/rpc-clnt-ping.c2
-rw-r--r--xlators/features/changelog/lib/src/gf-changelog-reborp.c1
-rw-r--r--xlators/features/quota/src/quota.c1
4 files changed, 0 insertions, 6 deletions
diff --git a/cli/src/cli-rpc-ops.c b/cli/src/cli-rpc-ops.c
index c32961e11c..88c01ee790 100644
--- a/cli/src/cli-rpc-ops.c
+++ b/cli/src/cli-rpc-ops.c
@@ -2067,8 +2067,6 @@ gf_cli_ganesha_cbk (struct rpc_req *req, struct iovec *iov,
int ret = -1;
dict_t *dict = NULL;
char *help_str = NULL;
- char msg[1024] = {0,};
- char tmp_str[512] = {0,};
GF_ASSERT (myframe);
diff --git a/rpc/rpc-lib/src/rpc-clnt-ping.c b/rpc/rpc-lib/src/rpc-clnt-ping.c
index a7ff866ac9..3eb7e90cb0 100644
--- a/rpc/rpc-lib/src/rpc-clnt-ping.c
+++ b/rpc/rpc-lib/src/rpc-clnt-ping.c
@@ -174,7 +174,6 @@ rpc_clnt_ping_cbk (struct rpc_req *req, struct iovec *iov, int count,
xlator_t *this = NULL;
rpc_clnt_connection_t *conn = NULL;
call_frame_t *frame = NULL;
- struct timespec timeout = {0, };
int unref = 0;
if (!myframe) {
@@ -264,7 +263,6 @@ rpc_clnt_start_ping (void *rpc_ptr)
{
struct rpc_clnt *rpc = NULL;
rpc_clnt_connection_t *conn = NULL;
- struct timespec timeout = {0, };
int frame_count = 0;
int unref = 0;
diff --git a/xlators/features/changelog/lib/src/gf-changelog-reborp.c b/xlators/features/changelog/lib/src/gf-changelog-reborp.c
index 4c49e9a533..28ebcfd014 100644
--- a/xlators/features/changelog/lib/src/gf-changelog-reborp.c
+++ b/xlators/features/changelog/lib/src/gf-changelog-reborp.c
@@ -103,7 +103,6 @@ gf_changelog_reborp_rpcsvc_notify (rpcsvc_t *rpc, void *mydata,
xlator_t *this = NULL;
gf_private_t *priv = NULL;
gf_changelog_t *entry = NULL;
- char sock[UNIX_PATH_MAX] = {0,};
if (!(event == RPCSVC_EVENT_ACCEPT ||
event == RPCSVC_EVENT_DISCONNECT))
diff --git a/xlators/features/quota/src/quota.c b/xlators/features/quota/src/quota.c
index 47436fd578..e67a4325fc 100644
--- a/xlators/features/quota/src/quota.c
+++ b/xlators/features/quota/src/quota.c
@@ -4293,7 +4293,6 @@ quota_statfs_cbk (call_frame_t *frame, void *cookie, xlator_t *this,
int64_t blocks = 0;
quota_inode_ctx_t *ctx = NULL;
int ret = 0;
- quota_local_t *local = frame->local;
inode = cookie;