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:
Anthony Minessale
2006-02-14 17:06:15 +00:00
parent 1ca8985b71
commit 77bf3ceb5d
6 changed files with 4 additions and 6 deletions

View File

@@ -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;
}

View File

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