Skip to content

Commit

Permalink
Fix Coverity uninitialized variable warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
nyalldawson committed Jul 7, 2016
1 parent 2a1c9c3 commit 07a72ad
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 2 additions & 0 deletions src/app/qgsfieldsproperties.h
Expand Up @@ -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; }
Expand Down
1 change: 0 additions & 1 deletion src/gui/raster/qgsrasterminmaxwidget.h
Expand Up @@ -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.