Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
cosmetics
[simgrid.git] / src / surf / surfxml_parseplatf.c
index 33498c3..7a6cd0e 100644 (file)
@@ -76,10 +76,9 @@ static void parse_Etag_trace(void)
   tmgr_trace_t trace;
   if (!trace_file || strcmp(trace_file, "") != 0) {
     trace = tmgr_trace_new(trace_file);
-  } else {
-    if (strcmp(surfxml_pcdata, "") == 0)
+  } else if (strcmp(surfxml_pcdata, "") == 0) {
       trace = NULL;
-    else
+  } else {
       trace =
           tmgr_trace_new_from_string(trace_id, surfxml_pcdata,
                                      trace_periodicity);