From: Michael Jerris Date: Thu, 4 Sep 2008 00:45:39 +0000 (+0000) Subject: fix compiler warnings X-Git-Tag: v1.0.2~1321 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5a7156a73d47107560cb96c4d3e9ec5d090772c5;p=thirdparty%2Ffreeswitch.git fix compiler warnings git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@9432 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- diff --git a/src/mod/applications/mod_fax/mod_fax.c b/src/mod/applications/mod_fax/mod_fax.c index 00b44b2b13..c435736af8 100644 --- a/src/mod/applications/mod_fax/mod_fax.c +++ b/src/mod/applications/mod_fax/mod_fax.c @@ -74,7 +74,7 @@ static void phase_e_handler(t30_state_t *s, void *user_data, int result) t30_stats_t t; const char *local_ident = NULL; const char *far_ident = NULL; - switch_channel_t *chan = (struct switch_channel_t *) user_data; + switch_channel_t *chan = (switch_channel_t *) user_data; if (result == T30_ERR_OK) { @@ -170,7 +170,6 @@ SWITCH_STANDARD_APP(rxfax_function) const char *fax_local_name = NULL; const char *fax_local_subname = NULL; const char *fax_local_ecm = NULL; - int fax_local_disable_ecm; const char *fax_local_v17 = NULL; // make sure we have a valid channel when starting the FAX application