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:
Michael Jerris 2006-12-19 18:54:06 +00:00
parent 3fe4c3c3bc
commit 2accfa888d
1 changed files with 1 additions and 1 deletions

View File

@ -5328,7 +5328,7 @@ static void pres_event_handler(switch_event_t *event)
switch(event->event_id) {
case SWITCH_EVENT_PRESENCE_PROBE:
if (proto) {
switch_core_db_t *db;
switch_core_db_t *db = NULL;
char *to = switch_event_get_header(event, "to");
char *user, *euser, *host, *p;