提交 2accfa88 authored 作者: Michael Jerris's avatar Michael Jerris

used potentially uninitialized variable.

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3727 d0543943-73ff-0310-b7d9-9358b9ac24b2
上级 3fe4c3c3
...@@ -5328,7 +5328,7 @@ static void pres_event_handler(switch_event_t *event) ...@@ -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;
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论