]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
fix msvc build.
authorMichael Jerris <mike@jerris.com>
Thu, 8 Mar 2007 02:31:34 +0000 (02:31 +0000)
committerMichael Jerris <mike@jerris.com>
Thu, 8 Mar 2007 02:31:34 +0000 (02:31 +0000)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4478 d0543943-73ff-0310-b7d9-9358b9ac24b2

src/mod/endpoints/mod_sofia/mod_sofia.c
src/mod/languages/mod_spidermonkey/mod_spidermonkey.h
src/mod/xml_int/mod_xml_rpc/mod_xml_rpc.c

index 655e395bf6b5745d0262295cbd3d711d894da4ce..c323a386f8fe0c0627fbbabde22e065fba0ec21c 100644 (file)
@@ -695,7 +695,7 @@ static void set_local_sdp(private_object_t *tech_pvt, char *ip, uint32_t port, c
        char buf[2048];
        switch_time_t now = switch_time_now();
     int ptime = 0;
-       int rate;
+       int rate = 0;
 
        if (!force && !ip && !sr && switch_test_flag(tech_pvt, TFLAG_NOMEDIA)) {
                return;
index 5fd34dca212b4ac551162fe706451e6c031b5518..e027245f4c3e8db3b0e80bd86494f740e3748181 100644 (file)
@@ -81,7 +81,7 @@ int eval_some_js(char *code, JSContext *cx, JSObject *obj, jsval *rval)
        JSScript *script = NULL;
        char *cptr;
        char *path = NULL;
-       char *script_name;
+       char *script_name = NULL;
        int result = 0;
 
        JS_ClearPendingException(cx);
index eeff72777b326c5e40f63527346fb04ad950b166..c2f8d43a3af1a0c05c1a94a2137c33ab22b16674 100644 (file)
@@ -228,7 +228,6 @@ static xmlrpc_value *freeswitch_man(xmlrpc_env *const envP, xmlrpc_value *const
        char *oid, *relative_oid, *s_action, *data;
        char buf[SWITCH_MAX_MANAGEMENT_BUFFER_LEN] = "";
        switch_management_action_t action = SMA_NONE;
-       switch_stream_handle_t stream = {0};
        xmlrpc_value *val;
 
     /* Parse our argument array. */