mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
Silence spurious conditional uninitialized warning in gnc-owner-sql.cpp.
This commit is contained in:
parent
93f5e23cf5
commit
8ef8d3807c
@ -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";
|
||||
|
Loading…
Reference in New Issue
Block a user