From e1ebbb59062a9a0d9899e3e6b44584c648ae2ac9 Mon Sep 17 00:00:00 2001 From: "Charles J. Cliffe" Date: Sun, 24 Jan 2016 10:38:14 -0500 Subject: [PATCH] Fix dev var init typo --- src/forms/SDRDevices/SDRDevices.cpp | 1 + src/forms/SDRDevices/SDRDevices.h | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/forms/SDRDevices/SDRDevices.cpp b/src/forms/SDRDevices/SDRDevices.cpp index 814ac92..a5b767b 100644 --- a/src/forms/SDRDevices/SDRDevices.cpp +++ b/src/forms/SDRDevices/SDRDevices.cpp @@ -16,6 +16,7 @@ SDRDevicesDialog::SDRDevicesDialog( wxWindow* parent ): devFrame( parent ) { editId = nullptr; removeId = nullptr; devAddDialog = nullptr; + dev = nullptr; } void SDRDevicesDialog::OnClose( wxCloseEvent& event ) { diff --git a/src/forms/SDRDevices/SDRDevices.h b/src/forms/SDRDevices/SDRDevices.h index fd29880..333c56a 100644 --- a/src/forms/SDRDevices/SDRDevices.h +++ b/src/forms/SDRDevices/SDRDevices.h @@ -34,7 +34,7 @@ private: std::vector::iterator devs_i; std::map devItems; std::map::iterator devItems_i; - SDRDeviceInfo *dev = NULL; + SDRDeviceInfo *dev; std::vector props; std::map devSettings; wxTreeItemId selId;