From a9a3c8989b6b37ee4c4b92e8f302d918d09f1641 Mon Sep 17 00:00:00 2001 From: Don Gagne <don@thegagnes.com> Date: Sat, 30 May 2015 09:32:28 -0700 Subject: [PATCH] Fix null pointer init --- src/VehicleSetup/SetupView.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/VehicleSetup/SetupView.cc b/src/VehicleSetup/SetupView.cc index 499807c..df5211e 100644 --- a/src/VehicleSetup/SetupView.cc +++ b/src/VehicleSetup/SetupView.cc @@ -44,7 +44,8 @@ SetupView::SetupView(QWidget* parent) : QGCQmlWidgetHolder(parent), _uasCurrent(NULL), - _initComplete(false) + _initComplete(false), + _readyAutopilot(NULL) { #ifdef __android__ _showFirmware = false;