diff --git a/src/base/utils/version.h b/src/base/utils/version.h index ca708f524..aa1be88d1 100644 --- a/src/base/utils/version.h +++ b/src/base/utils/version.h @@ -167,7 +167,7 @@ namespace Utils throw std::runtime_error ("Incorrect number of version components"); bool ok = false; - ComponentsArray res; + ComponentsArray res{}; for (std::size_t i = 0; i < static_cast(versionParts.size()); ++i) { res[i] = static_cast(versionParts[i].toInt(&ok)); if (!ok)