* sim/ucsim/app.cc, sim/ucsim/cmd.src/cmdutil.cc, sim/ucsim/cmd.src/newcmd.cc:
enabled sockets on WIN32
+ * sim/ucsim/cmd.src/newcmd.cc: fixed bug with uninitialized varaibles
2005-10-31 Borut Razem <borut.razem AT siol.net>
add_console(mk_console(port_number_option.get_value((long)0)));
#endif
+ /* The following code is commented out because it produces gcc warnings
+ * newcmd.cc: In member function `virtual int cl_commander::init()':
+ * newcmd.cc:785: warning: 'Config' might be used uninitialized in this function
+ * newcmd.cc:786: warning: 'cn' might be used uninitialized in this function
+ */
+ /*
char *Config= config_file_option.get_value(Config);
char *cn= console_on_option.get_value(cn);
+ */
+ /* Here shoud probably be something else, but is still better then the former code... */
+ char *Config= config_file_option.get_value("");
+ char *cn= console_on_option.get_value("");
if (cn)
{