mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-28 00:17:30 -05:00
Fix coverity uninitialized members warnings
This commit is contained in:
parent
b44cf5d10f
commit
57beefd474
@ -54,7 +54,7 @@ class QgsOgrDbTableModel : public QStandardItemModel
|
||||
|
||||
private:
|
||||
//! Number of tables in the model
|
||||
int mTableCount;
|
||||
int mTableCount = 0;
|
||||
QString mPath;
|
||||
|
||||
QIcon iconForType( QgsWkbTypes::Type type ) const;
|
||||
|
@ -32,7 +32,7 @@ struct QgsXyzConnection
|
||||
QString password;
|
||||
// Referer
|
||||
QString referer;
|
||||
bool hidden;
|
||||
bool hidden = false;
|
||||
|
||||
QString encodedUri() const;
|
||||
};
|
||||
@ -55,4 +55,4 @@ class QgsXyzConnectionUtils
|
||||
};
|
||||
|
||||
|
||||
#endif // QGSXYZCONNECTION_H
|
||||
#endif // QGSXYZCONNECTION_H
|
||||
|
Loading…
x
Reference in New Issue
Block a user