Skip to content

Commit 07a72ad

Browse files
committedJul 7, 2016
Fix Coverity uninitialized variable warnings
1 parent 2a1c9c3 commit 07a72ad

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed
 

‎src/app/qgsfieldsproperties.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,12 +55,14 @@ class APP_EXPORT QgsFieldsProperties : public QWidget, private Ui_QgsFieldsPrope
5555
DesignerTreeItemData()
5656
: mType( Field )
5757
, mColumnCount( 1 )
58+
, mShowAsGroupBox( false )
5859
{}
5960

6061
DesignerTreeItemData( Type type, const QString& name )
6162
: mType( type )
6263
, mName( name )
6364
, mColumnCount( 1 )
65+
, mShowAsGroupBox( false )
6466
{}
6567

6668
QString name() const { return mName; }

‎src/gui/raster/qgsrasterminmaxwidget.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,6 @@ class GUI_EXPORT QgsRasterMinMaxWidget: public QWidget, private Ui::QgsRasterMin
8282
QgsRectangle mExtent;
8383

8484
QgsMapCanvas* mCanvas;
85-
QgsRasterLayer* mRasterLayer;
8685
};
8786

8887
#endif // QGSRASTERMINMAXWIDGET_H

0 commit comments

Comments
 (0)
Please sign in to comment.