From ef78ffc6f3bf5fc7d422ce528f4bb36442dbdac2 Mon Sep 17 00:00:00 2001 From: "Charles J. Cliffe" Date: Tue, 23 Dec 2014 02:32:25 -0500 Subject: [PATCH] minor warning fixes --- src/audio/AudioThread.cpp | 2 +- src/sdr/SDRThread.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/audio/AudioThread.cpp b/src/audio/AudioThread.cpp index 1c55bc9..9a4cbf2 100644 --- a/src/audio/AudioThread.cpp +++ b/src/audio/AudioThread.cpp @@ -10,7 +10,7 @@ std::map AudioThread::deviceThread; #endif AudioThread::AudioThread(AudioThreadInputQueue *inputQueue, DemodulatorThreadCommandQueue* threadQueueNotify) : -inputQueue(inputQueue), audio_queue_ptr(0), underflow_count(0), terminated(false), active(false), gain(1.0), threadQueueNotify(threadQueueNotify) { +currentInput(NULL), inputQueue(inputQueue), audio_queue_ptr(0), underflow_count(0), terminated(false), active(false), gain(1.0), threadQueueNotify(threadQueueNotify) { #ifdef __APPLE__ boundThreads = new std::vector; #endif diff --git a/src/sdr/SDRThread.h b/src/sdr/SDRThread.h index b917160..b2a59ed 100644 --- a/src/sdr/SDRThread.h +++ b/src/sdr/SDRThread.h @@ -41,7 +41,7 @@ public: std::vector data; SDRThreadIQData() : - frequency(0), bandwidth(0), data(NULL) { + frequency(0), bandwidth(0) { }