From 427ae6a1397eb12314d3819106af8ac7852661e1 Mon Sep 17 00:00:00 2001 From: Arnaud Giersch Date: Mon, 7 Oct 2013 14:28:46 +0200 Subject: [PATCH] There's no need to initialize p here. --- src/simgrid/sg_config.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/simgrid/sg_config.c b/src/simgrid/sg_config.c index 5365b6408d..5b8a40610f 100644 --- a/src/simgrid/sg_config.c +++ b/src/simgrid/sg_config.c @@ -405,7 +405,8 @@ static void _sg_cfg_cb__gtnets_jitter_seed(const char *name, int pos) /* create the config set, register what should be and parse the command line*/ void sg_config_init(int *argc, char **argv) { - char *description = xbt_malloc(1024), *p = description; + char *description = xbt_malloc(1024); + char *p; int i; /* Create the configuration support */ -- 2.20.1