Skip to content

Commit

Permalink
Silence spurious conditional uninitialized warning in gnc-owner-sql.cpp.
Browse files Browse the repository at this point in the history
  • Loading branch information
jralls committed Mar 3, 2022
1 parent 93f5e23 commit 8ef8d38
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libgnucash/backend/sql/gnc-owner-sql.cpp
Expand Up @@ -182,7 +182,7 @@ GncSqlColumnTableEntryImpl<CT_OWNERREF>::add_to_query(QofIdTypeConst obj_name,
auto owner = (*getter) (pObject);

QofInstance* inst = nullptr;
GncOwnerType type;
GncOwnerType type = GNC_OWNER_NONE;

auto type_hdr = std::string{m_col_name} + "_type";
auto guid_hdr = std::string{m_col_name} + "_guid";
Expand Down

0 comments on commit 8ef8d38

Please sign in to comment.