summaryrefslogtreecommitdiffstats
path: root/libglusterfs
diff options
context:
space:
mode:
Diffstat (limited to 'libglusterfs')
-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 14000ee5b3d..ad2f78835e8 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;