diff --git a/src/lib/Dom/LazyObject.hpp b/src/lib/Dom/LazyObject.hpp index f078933b8..4d5cc5d32 100644 --- a/src/lib/Dom/LazyObject.hpp +++ b/src/lib/Dom/LazyObject.hpp @@ -278,7 +278,7 @@ std::size_t LazyObjectImpl:: size() const { - std::size_t result; + std::size_t result = 0; detail::LazyObjectIO io( [&result, this](std::string_view name, auto const& /* value or deferred */) {