mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-08-13 17:38:59 +00:00
Make warnings fatal on modules too
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@612 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
@@ -72,7 +72,6 @@ static switch_status switch_gsm_encode(switch_codec *codec, switch_codec *other_
|
||||
size_t *encoded_data_len, int *encoded_rate, unsigned int *flag)
|
||||
{
|
||||
struct gsm_context *context = codec->private;
|
||||
int cbret = 0;
|
||||
if (!context) {
|
||||
return SWITCH_STATUS_FALSE;
|
||||
}
|
||||
|
@@ -39,7 +39,6 @@ static switch_status switch_raw_init(switch_codec *codec, switch_codec_flag flag
|
||||
const struct switch_codec_settings *codec_settings)
|
||||
{
|
||||
int encoding, decoding;
|
||||
struct raw_context *context = NULL;
|
||||
|
||||
encoding = (flags & SWITCH_CODEC_FLAG_ENCODE);
|
||||
decoding = (flags & SWITCH_CODEC_FLAG_DECODE);
|
||||
|
@@ -132,7 +132,7 @@ switch_caller_extension *directory_dialplan_hunt(switch_core_session *session)
|
||||
}
|
||||
switch_copy_string(app, val, sizeof(app));
|
||||
if ((data = strchr(app, ' '))) {
|
||||
*data++ = NULL;
|
||||
*data++ = '\0';
|
||||
}
|
||||
switch_caller_extension_add_application(session, extension, app, data);
|
||||
}
|
||||
|
@@ -52,7 +52,7 @@ static sw_result HOWL_API my_browser(sw_discovery discovery,
|
||||
sw_const_string type,
|
||||
sw_const_string domain,
|
||||
sw_opaque_t extra) {
|
||||
sw_discovery_resolve_id rid;
|
||||
//sw_discovery_resolve_id rid;
|
||||
|
||||
switch (status) {
|
||||
case SW_DISCOVERY_BROWSE_INVALID:
|
||||
|
Reference in New Issue
Block a user