used potentially uninitialized variable.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3727 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
parent
3fe4c3c3bc
commit
2accfa888d
|
@ -5328,7 +5328,7 @@ static void pres_event_handler(switch_event_t *event)
|
||||||
switch(event->event_id) {
|
switch(event->event_id) {
|
||||||
case SWITCH_EVENT_PRESENCE_PROBE:
|
case SWITCH_EVENT_PRESENCE_PROBE:
|
||||||
if (proto) {
|
if (proto) {
|
||||||
switch_core_db_t *db;
|
switch_core_db_t *db = NULL;
|
||||||
char *to = switch_event_get_header(event, "to");
|
char *to = switch_event_get_header(event, "to");
|
||||||
char *user, *euser, *host, *p;
|
char *user, *euser, *host, *p;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue