From: Gabriel Corona Date: Thu, 13 Nov 2014 15:09:57 +0000 (+0100) Subject: Remove warning about uninitialized variable X-Git-Tag: v3_12~732^2~212 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/d64b23f264fa43f785c688073c66297a7c475c40?ds=sidebyside Remove warning about uninitialized variable --- diff --git a/src/simix/smx_environment.c b/src/simix/smx_environment.c index 8f8e7d4038..4754e715bb 100644 --- a/src/simix/smx_environment.c +++ b/src/simix/smx_environment.c @@ -33,7 +33,7 @@ XBT_LOG_NEW_DEFAULT_SUBCATEGORY(simix_environment, simix, */ void SIMIX_create_environment(const char *file) { - double start, end; + double start = 0, end = 0; if(XBT_LOG_ISENABLED(simix_environment, xbt_log_priority_debug)) start = xbt_os_time(); parse_platform_file(file);