Initialize variable that may be used uninitialized otherwise.

This commit is contained in:
Ghislain MARY 2013-05-21 14:52:59 +02:00
parent ab69b2cd06
commit 6c8ee3348e

View file

@ -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){