Skip to content

Commit

Permalink
Another -Weffc++ warning fix
Browse files Browse the repository at this point in the history
  • Loading branch information
rouault committed Feb 20, 2024
1 parent 26fb427 commit 81fecbc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/iso19111/factory.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 81fecbc

Please sign in to comment.