From b7ae88b63fb6ea1abdb86669f2a786b94a6470b4 Mon Sep 17 00:00:00 2001 From: Pranith Kumar K Date: Fri, 23 May 2014 13:06:26 +0530 Subject: libglusterfs: Fix unused variable warning Change-Id: If385ba0993fdbd3e3b7500b2b6631721911e0ab3 BUG: 1100144 Signed-off-by: Pranith Kumar K Reviewed-on: http://review.gluster.org/7858 Tested-by: Gluster Build System Reviewed-by: Vijay Bellur --- libglusterfs/src/mem-pool.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'libglusterfs/src') diff --git a/libglusterfs/src/mem-pool.c b/libglusterfs/src/mem-pool.c index 6207e995bc3..356cfdb78ca 100644 --- a/libglusterfs/src/mem-pool.c +++ b/libglusterfs/src/mem-pool.c @@ -284,10 +284,10 @@ mem_pool_new_fn (unsigned long sizeof_type, { struct mem_pool *mem_pool = NULL; unsigned long padded_sizeof_type = 0; - void *pool = NULL; - int i = 0; + GF_UNUSED void *pool = NULL; + GF_UNUSED int i = 0; int ret = 0; - struct list_head *list = NULL; + GF_UNUSED struct list_head *list = NULL; glusterfs_ctx_t *ctx = NULL; if (!sizeof_type || !count) { -- cgit