mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-02-08 08:51:50 +00:00
initialize some vars that might not get initialized in some codepaths.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2979 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
parent
f993cd6791
commit
bd84b01a4b
@ -2231,7 +2231,7 @@ static void sip_i_refer(nua_t *nua,
|
|||||||
|
|
||||||
if (session) {
|
if (session) {
|
||||||
private_object_t *tech_pvt = NULL;
|
private_object_t *tech_pvt = NULL;
|
||||||
char *exten;
|
char *exten = NULL;
|
||||||
|
|
||||||
tech_pvt = switch_core_session_get_private(session);
|
tech_pvt = switch_core_session_get_private(session);
|
||||||
from = sip->sip_from;
|
from = sip->sip_from;
|
||||||
@ -2253,7 +2253,7 @@ static void sip_i_refer(nua_t *nua,
|
|||||||
|
|
||||||
if ((rep = strchr(refer_to->r_url->url_headers, '='))) {
|
if ((rep = strchr(refer_to->r_url->url_headers, '='))) {
|
||||||
switch_channel_t *channel_a = NULL, *channel_b = NULL;
|
switch_channel_t *channel_a = NULL, *channel_b = NULL;
|
||||||
char *br_a, *br_b;
|
char *br_a = NULL, *br_b = NULL;
|
||||||
char *buf;
|
char *buf;
|
||||||
rep++;
|
rep++;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user