[Freeswitch-dev] windows release build

jlenk at frontiernet.net jlenk at frontiernet.net
Tue Dec 16 07:35:42 PST 2008


I have also been building with Release mode and discovered the uninitialized anomally to - also wondered why it only shows in Release. Anyways I have been running release builds (last update two weeks ago) with no abnormal results. 

----- Original Message -----
From: "Michael Jerris" <mike at jerris.com>
To: freeswitch-dev at lists.freeswitch.org
Sent: Tuesday, December 16, 2008 7:17:04 AM GMT -06:00 US/Canada Central
Subject: Re: [Freeswitch-dev] windows release build

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


_______________________________________________
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