Prospective fix for build with -Werror
home/qt/work/qt/qt5/qtbase/src/platformsupport/linuxaccessibility/constant_mappings_p.h:110:8: error: ‘<anonymous>.TestNamespace::RoleNames::m_spiRole’ may be used uninitialized in this function [-Werror=maybe-uninitialized] Change-Id: I514417b33c6142e4d87b97b24dec76d68ec92ab8 Reviewed-by: Lars Knoll <lars.knoll@qt.io> Reviewed-by: Jan Arve Sæther <jan-arve.saether@qt.io>bb10
parent
47189b3a67
commit
f9802b2fb1
|
|
@ -118,7 +118,7 @@ struct RoleNames {
|
|||
QString localizedName() const {return m_localizedName;}
|
||||
|
||||
private:
|
||||
AtspiRole m_spiRole;
|
||||
AtspiRole m_spiRole = ATSPI_ROLE_INVALID;
|
||||
QString m_name;
|
||||
QString m_localizedName;
|
||||
};
|
||||
|
|
|
|||
Loading…
Reference in New Issue