X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/96cedde3cdbc0b8ffc3f096a1b65d021b0226f99..2558c8c0eb206ff353cb88672f5a90cd0e2562d3:/src/mc/ObjectInformation.cpp diff --git a/src/mc/ObjectInformation.cpp b/src/mc/ObjectInformation.cpp index a8de56bb67..1f5e70320e 100644 --- a/src/mc/ObjectInformation.cpp +++ b/src/mc/ObjectInformation.cpp @@ -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++;