mgcp: Make sure the save pointer is initialized with NULL.
Coverity is not happy about it but it doesn't appear to be a real issue as the data will not be NULL on the first call. Addresses: Coverity CID 1040704
This commit is contained in:
parent
d5c270e71c
commit
1eba7de0c2
|
@ -337,7 +337,7 @@ static struct mgcp_endpoint *find_endpoint(struct mgcp_config *cfg, const char *
|
|||
static int mgcp_analyze_header(struct mgcp_parse_data *pdata, char *data)
|
||||
{
|
||||
int i = 0;
|
||||
char *elem, *save;
|
||||
char *elem, *save = NULL;
|
||||
|
||||
pdata->trans = "000000";
|
||||
|
||||
|
|
Loading…
Reference in New Issue