Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fix pointer initalization
  • Loading branch information
pblottiere committed Oct 9, 2017
1 parent 191f2a7 commit 453eba3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/app/qgsnewauxiliarylayerdialog.h
Expand Up @@ -47,7 +47,7 @@ class APP_EXPORT QgsNewAuxiliaryLayerDialog: public QDialog, private Ui::QgsNewA
private:
void accept() override;

QgsVectorLayer *mLayer;
QgsVectorLayer *mLayer = nullptr;
};

#endif
2 changes: 1 addition & 1 deletion src/core/qgsauxiliarystorage.h
Expand Up @@ -204,7 +204,7 @@ class CORE_EXPORT QgsAuxiliaryLayer : public QgsVectorLayer

private:
QgsVectorLayerJoinInfo mJoinInfo;
const QgsVectorLayer *mLayer;
const QgsVectorLayer *mLayer = nullptr;
};


Expand Down

0 comments on commit 453eba3

Please sign in to comment.