mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-11-11 12:07:06 +00:00
fix some warnings
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4641 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
1 parent
d0410103ff
commit
e42d7ec1c9
5 files changed
+9
-4
No files matched your search
@@ -522,7 +522,7 @@ static switch_status_t conference_add_member(conference_obj_t *conference, confe
|
||||
if (conference->alone_sound) {
|
||||
conference_play_file(conference, conference->alone_sound, CONF_DEFAULT_LEADIN, switch_core_session_get_channel(member->session), 0);
|
||||
} else {
|
||||
snprintf(msg, sizeof(msg), "You are currently the only person in this conference.", conference->count);
|
||||
snprintf(msg, sizeof(msg), "You are currently the only person in this conference.");
|
||||
conference_member_say(member, msg, CONF_DEFAULT_LEADIN);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -62,10 +62,12 @@ static void etpan_destroy(JSContext *cx, JSObject *obj)
|
||||
{
|
||||
}
|
||||
|
||||
#if 0
|
||||
static JSBool etpan_my_method(JSContext *cx, JSObject *obj, uintN argc, jsval *argv, jsval *rval)
|
||||
{
|
||||
return JS_FALSE;
|
||||
}
|
||||
#endif
|
||||
|
||||
enum etpan_tinyid {
|
||||
etpan_NAME
|
||||
|
||||
@@ -77,7 +77,7 @@ static switch_xml_t xml_url_fetch(const char *section,
|
||||
return NULL;
|
||||
}
|
||||
|
||||
if (file_url = strstr(binding->url, "file:")) {
|
||||
if ((file_url = strstr(binding->url, "file:"))) {
|
||||
file_url += 5;
|
||||
|
||||
if (!(xml = switch_xml_parse_file(file_url))) {
|
||||
|
||||
Reference in new issue
Block a user