Skip to content
Permalink
Browse files

Fix coverity uninitialized members warnings

  • Loading branch information
nyalldawson committed Sep 18, 2017
1 parent b44cf5d commit 57beefd4746045db468d96dc93d6e1500c4e861a
Showing with 3 additions and 3 deletions.
  1. +1 −1 src/providers/ogr/qgsogrdbtablemodel.h
  2. +2 −2 src/providers/wms/qgsxyzconnection.h
@@ -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

0 comments on commit 57beefd

Please sign in to comment.
You can’t perform that action at this time.