]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
used potentially uninitialized variable.
authorMichael Jerris <mike@jerris.com>
Tue, 19 Dec 2006 18:54:06 +0000 (18:54 +0000)
committerMichael Jerris <mike@jerris.com>
Tue, 19 Dec 2006 18:54:06 +0000 (18:54 +0000)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3727 d0543943-73ff-0310-b7d9-9358b9ac24b2

src/mod/endpoints/mod_sofia/mod_sofia.c

index d5c7f74a1d63216dca13b7c7b5f78dfaa7e7210c..9cba1aea55eb5cbcc837fc9e9d6edefd4adf5e1f 100644 (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;