]> AND Public Git Repository - simgrid.git/blobdiff - src/mc/mc_dwarf.cpp
Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Use a static map for dwarf attr and tag names.
[simgrid.git] / src / mc / mc_dwarf.cpp
index 5e95580971782279f6db6a9fa963a27a518620c3..e7ae5708ceab964893e2a41b0551d6c18939e7de 100644 (file)
@@ -831,7 +831,7 @@ static void MC_dwarf_handle_variable_die(simgrid::mc::ObjectInformation* info, D
   if (not variable)
     return;
   // Those arrays are sorted later:
-  else if (variable->global)
+  if (variable->global)
     info->global_variables.push_back(std::move(*variable));
   else if (frame != nullptr)
     frame->variables.push_back(std::move(*variable));