Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Let it compile without --disable-compile-optimizations
[simgrid.git] / src / surf / workstation_KCCFLN05.c
index e71eb14..c786015 100644 (file)
@@ -77,7 +77,7 @@ static void __update_cpu_usage(cpu_KCCFLN05_t cpu)
 static void *name_service(const char *name)
 {
   xbt_ex_t e;
-  void *res;
+  void *res=NULL;
   TRY {
      res = xbt_dict_get(workstation_set, name);
   } CATCH(e) {