From ebbe623fe44dddc9318067698bf3796035265997 Mon Sep 17 00:00:00 2001 From: Pranith Kumar K Date: Mon, 29 Jul 2013 12:36:10 +0530 Subject: libglusterfs: Fix compilation warning Change-Id: Ibba7a6fd3119c85c78cb12628d85c7f9210e6b8c BUG: 928648 Signed-off-by: Pranith Kumar K Reviewed-on: http://review.gluster.org/5412 Tested-by: Gluster Build System Reviewed-by: Vijay Bellur --- libglusterfs/src/logging.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libglusterfs/src') diff --git a/libglusterfs/src/logging.c b/libglusterfs/src/logging.c index 14000ee5b..ad2f78835 100644 --- a/libglusterfs/src/logging.c +++ b/libglusterfs/src/logging.c @@ -278,7 +278,7 @@ gf_syslog (int error_code, int facility_priority, char *format, ...) { char *msg = NULL; char json_msg[GF_JSON_MSG_LENGTH]; - char *p = NULL; + GF_UNUSED char *p = NULL; const char *error_message = NULL; char json_error_message[GF_JSON_MSG_LENGTH]; va_list ap; -- cgit