16 Dec
2008
16 Dec
'08
10:22 a.m.
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;