From 6c8ee3348ea0d862ea9c37debe2059a4607e219f Mon Sep 17 00:00:00 2001 From: Ghislain MARY Date: Tue, 21 May 2013 14:52:59 +0200 Subject: [PATCH] Initialize variable that may be used uninitialized otherwise. --- coreapi/bellesip_sal/sal_op_info.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/coreapi/bellesip_sal/sal_op_info.c b/coreapi/bellesip_sal/sal_op_info.c index 41f39008d..a86328fbb 100644 --- a/coreapi/bellesip_sal/sal_op_info.c +++ b/coreapi/bellesip_sal/sal_op_info.c @@ -35,7 +35,7 @@ static void process_request_event(void *op_base, const belle_sip_request_event_t belle_sip_header_content_length_t *clen=NULL; belle_sip_response_t* resp; SalBody salbody; - const char *body; + const char *body = NULL; content_type=belle_sip_message_get_header_by_type(BELLE_SIP_MESSAGE(req),belle_sip_header_content_type_t); if (content_type){