[Freeswitch-trunk] [commit] r3727 - freeswitch/trunk/src/mod/endpoints/mod_sofia

Freeswitch SVN mikej at freeswitch.org
Tue Dec 19 13:54:08 EST 2006


Author: mikej
Date: Tue Dec 19 13:54:06 2006
New Revision: 3727

Modified:
   freeswitch/trunk/src/mod/endpoints/mod_sofia/mod_sofia.c

Log:
used potentially uninitialized variable.

Modified: freeswitch/trunk/src/mod/endpoints/mod_sofia/mod_sofia.c
==============================================================================
--- freeswitch/trunk/src/mod/endpoints/mod_sofia/mod_sofia.c	(original)
+++ freeswitch/trunk/src/mod/endpoints/mod_sofia/mod_sofia.c	Tue Dec 19 13:54:06 2006
@@ -5328,7 +5328,7 @@
 	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;
 



More information about the Freeswitch-trunk mailing list