Fix coverity uninitialized members warnings

This commit is contained in:
Nyall Dawson 2017-09-18 12:13:02 +10:00
parent b44cf5d10f
commit 57beefd474
2 changed files with 3 additions and 3 deletions

View File

@ -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;

View File

@ -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