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);
|
||||
|
Reference in New Issue
Block a user