summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPranith Kumar K <pkarampu@redhat.com>2013-07-29 12:36:10 +0530
committerVijay Bellur <vbellur@redhat.com>2013-07-29 01:50:54 -0700
commitebbe623fe44dddc9318067698bf3796035265997 (patch)
treeba915995a1204c57cad281a707eab98a8207e52a
parentaa70c0bba081b7a56a3894c5454a78b27753bdff (diff)
libglusterfs: Fix compilation warning
Change-Id: Ibba7a6fd3119c85c78cb12628d85c7f9210e6b8c BUG: 928648 Signed-off-by: Pranith Kumar K <pkarampu@redhat.com> Reviewed-on: http://review.gluster.org/5412 Tested-by: Gluster Build System <jenkins@build.gluster.com> Reviewed-by: Vijay Bellur <vbellur@redhat.com>
-rw-r--r--libglusterfs/src/logging.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libglusterfs/src/logging.c b/libglusterfs/src/logging.c
index 14000ee..ad2f788 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;