diff --git a/uppsrc/Core/Value.cpp b/uppsrc/Core/Value.cpp index 315b0d082..7e284087a 100644 --- a/uppsrc/Core/Value.cpp +++ b/uppsrc/Core/Value.cpp @@ -510,7 +510,7 @@ int Value::GetCount() const if(t == VALUEMAP_V) return ((ValueMap::Data *)ptr())->value.GetCount(); } - return ErrorValue(); + return 0; } const Value& Value::operator[](int i) const