[Freeswitch-dev] windows release build

Michael Jerris mike at jerris.com
Tue Dec 16 05:17:04 PST 2008


We have not done a ton of testing on any release builds, but its  
probably fine.  That error btw was totally correct, I wonder why it  
didn't show up in the debug builds.

Mike

On Dec 16, 2008, at 5:22 AM, Tamas Cseke wrote:

> Hello,
>
> I had a small problem with visual studio 2008 release build.
> It was complaining about an uninitialized variable.
> Or is it not a godd idea to build with release?
>
> Regards,
> Tamas
> Index: src/mod/applications/mod_commands/mod_commands.c
> ===================================================================
> --- src/mod/applications/mod_commands/mod_commands.c	(revision 10788)
> +++ src/mod/applications/mod_commands/mod_commands.c	(working copy)
> @@ -2707,7 +2707,7 @@
> 	switch_core_session_t *psession = NULL;
> 	char *mycmd = NULL, *vars, *argv[64] = { 0 };
> 	int argc = 0;
> -	char *var_name, *var_value;
> +	char *var_name, *var_value = NULL;
>
> 	if (session) {
> 		return SWITCH_STATUS_FALSE;
> _______________________________________________
> Freeswitch-dev mailing list
> Freeswitch-dev at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev
> http://www.freeswitch.org




More information about the Freeswitch-dev mailing list