Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
comestics in src/kernel
[simgrid.git] / src / mc / ObjectInformation.cpp
index a8de56bb670b382c469233671154ab4b88471a10..1f5e70320e7b4b08f07abc491fc91e601b08f0e2 100644 (file)
@@ -108,11 +108,11 @@ void ObjectInformation::remove_global_variable(const char* name)
     if (cmp == 0) {
 
       // Find the whole range:
-      size_type first = cursor;
+      first = cursor;
       while (first != 0 && this->global_variables[first - 1].name == name)
         first--;
       size_type size = this->global_variables.size();
-      size_type last = cursor;
+      last           = cursor;
       while (last != size - 1 && this->global_variables[last + 1].name == name)
         last++;