From ea8d5b178fac42d5324d27748373f693842a8156 Mon Sep 17 00:00:00 2001 From: mquinson Date: Wed, 14 Oct 2009 09:06:42 +0000 Subject: [PATCH] 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 --- examples/gras/replay/replay.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- 2.20.1