diff --git a/src/iso19111/factory.cpp b/src/iso19111/factory.cpp index 0d2f96fbf5..5b4bfc4ec8 100644 --- a/src/iso19111/factory.cpp +++ b/src/iso19111/factory.cpp @@ -4064,7 +4064,7 @@ bool AuthorityFactory::Private::rejectOpDueToMissingGrid( struct DisableNetwork { const DatabaseContextNNPtr &m_dbContext; - bool m_old_network_enabled; + bool m_old_network_enabled = false; explicit DisableNetwork(const DatabaseContextNNPtr &l_context) : m_dbContext(l_context) {