Skip to content
Permalink
Browse files

Fix Coverity uninitialized variable warnings

  • Loading branch information
nyalldawson committed Jul 7, 2016
1 parent 2a1c9c3 commit 07a72ad1333f8fc8c9b43f55d3b7466e314741f8
Showing with 2 additions and 1 deletion.
  1. +2 −0 src/app/qgsfieldsproperties.h
  2. +0 −1 src/gui/raster/qgsrasterminmaxwidget.h
@@ -55,12 +55,14 @@ class APP_EXPORT QgsFieldsProperties : public QWidget, private Ui_QgsFieldsPrope
DesignerTreeItemData()
: mType( Field )
, mColumnCount( 1 )
, mShowAsGroupBox( false )
{}

DesignerTreeItemData( Type type, const QString& name )
: mType( type )
, mName( name )
, mColumnCount( 1 )
, mShowAsGroupBox( false )
{}

QString name() const { return mName; }
@@ -82,7 +82,6 @@ class GUI_EXPORT QgsRasterMinMaxWidget: public QWidget, private Ui::QgsRasterMin
QgsRectangle mExtent;

QgsMapCanvas* mCanvas;
QgsRasterLayer* mRasterLayer;
};

#endif // QGSRASTERMINMAXWIDGET_H

0 comments on commit 07a72ad

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