From: mquinson Date: Wed, 14 Oct 2009 09:06:42 +0000 (+0000) Subject: Make sure this variable is always initialized X-Git-Tag: SVN~952 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/ea8d5b178fac42d5324d27748373f693842a8156?ds=inline Make sure this variable is always initialized git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@6762 48e7efb5-ca39-0410-a469-dd3cf9ba447f --- diff --git a/examples/gras/replay/replay.c b/examples/gras/replay/replay.c index a7ff823c31..a8e99962fe 100644 --- a/examples/gras/replay/replay.c +++ b/examples/gras/replay/replay.c @@ -185,7 +185,7 @@ int worker(int argc,char *argv[]) { globals = gras_userdata_new(s_worker_data_t); /* Create the connexions */ globals->mysock = gras_socket_server(4000); /* FIXME: shouldn't be hardcoded */ - gras_socket_t master; + gras_socket_t master=NULL; int connected=0; gras_cb_register("commands", worker_commands_cb);