mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-10-14 07:14:14 +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:
1 parent
1ca8985b71
commit
77bf3ceb5d
6 files changed
+4
-6
No files matched your search
@@ -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