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>
This commit is contained in:
Pranith Kumar K 2013-07-29 12:36:10 +05:30 committed by Vijay Bellur
parent aa70c0bba0
commit ebbe623fe4

View File

@ -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;