fix msvc build.

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4478 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Michael Jerris 2007-03-08 02:31:34 +00:00
parent 5e2d7dfc12
commit cc0ea39446
3 changed files with 2 additions and 3 deletions

View 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;

View 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);

View 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. */