[Freeswitch-svn] [commit] r8770 - freeswitch/trunk/src/mod/dialplans/mod_dialplan_asterisk

Freeswitch SVN mikej at freeswitch.org
Thu Jun 5 15:23:04 EDT 2008


Author: mikej
Date: Thu Jun  5 15:23:04 2008
New Revision: 8770

Modified:
   freeswitch/trunk/src/mod/dialplans/mod_dialplan_asterisk/mod_dialplan_asterisk.c

Log:
i should never be called

Modified: freeswitch/trunk/src/mod/dialplans/mod_dialplan_asterisk/mod_dialplan_asterisk.c
==============================================================================
--- freeswitch/trunk/src/mod/dialplans/mod_dialplan_asterisk/mod_dialplan_asterisk.c	(original)
+++ freeswitch/trunk/src/mod/dialplans/mod_dialplan_asterisk/mod_dialplan_asterisk.c	Thu Jun  5 15:23:04 2008
@@ -82,7 +82,9 @@
 
 SWITCH_STANDARD_APP(avoid_function)
 {
+#if 0
 	void *y = NULL;
+#endif
 	int x = 0;
 	switch_channel_t *channel = switch_core_session_get_channel(session);
 
@@ -92,7 +94,9 @@
 	}
 
 	switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_WARNING, "I should never be called!.\n");
+#if 0
 	memset((void *) y, 0, 1000);
+#endif
 }
 
 SWITCH_STANDARD_APP(goto_function)



More information about the Freeswitch-svn mailing list