summaryrefslogtreecommitdiffstats
path: root/cli/src
diff options
context:
space:
mode:
authorAtin Mukherjee <amukherj@redhat.com>2019-03-21 09:57:10 +0530
committerAtin Mukherjee <amukherj@redhat.com>2019-03-22 12:45:38 +0000
commit1f94395c356748c0f51c76d5de3be5f6cf603547 (patch)
treef7ca75da2204560e1905a991293d09be1abe35d2 /cli/src
parenta7c746577249af6326907e280843e1f4c0231bb0 (diff)
inode: fix unused vars
Commit 6d6a3b2 introduced some unused vars. This patch defines them within #ifdef DEBUG Fixes: bz#1580315 Change-Id: I8a332b00c3ffb66689b4b6480c490b9436c17d63 Signed-off-by: Atin Mukherjee <amukherj@redhat.com>
Diffstat (limited to 'cli/src')
-rw-r--r--cli/src/cli-rpc-ops.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/cli/src/cli-rpc-ops.c b/cli/src/cli-rpc-ops.c
index 819b54a47c2..a80a23c6928 100644
--- a/cli/src/cli-rpc-ops.c
+++ b/cli/src/cli-rpc-ops.c
@@ -7607,8 +7607,9 @@ cli_print_volume_status_itables(dict_t *dict, char *prefix)
uint32_t lru_size = 0;
uint32_t purge_size = 0;
uint32_t lru_limit = 0;
+#ifdef DEBUG
int i = 0;
-
+#endif
GF_ASSERT(dict);
GF_ASSERT(prefix);