From 796ca0b077ef864185dc1ebf475dbbd2ed317a1a Mon Sep 17 00:00:00 2001 From: Alexandru Csete Date: Thu, 8 Aug 2013 21:52:05 +0200 Subject: [PATCH] Fix unused variable warnings. --- applications/gqrx/receiver.cpp | 3 +++ dsp/rx_meter.cpp | 2 ++ 2 files changed, 5 insertions(+) diff --git a/applications/gqrx/receiver.cpp b/applications/gqrx/receiver.cpp index c3ef51207..e3655fc2e 100644 --- a/applications/gqrx/receiver.cpp +++ b/applications/gqrx/receiver.cpp @@ -914,6 +914,7 @@ receiver::status receiver::stop_audio_playback() */ receiver::status receiver::start_iq_recording(const std::string filename) { + (void) filename; #if 0 if (d_recording_iq) { /* error - we are already recording */ @@ -960,6 +961,8 @@ receiver::status receiver::stop_iq_recording() */ receiver::status receiver::start_iq_playback(const std::string filename, float samprate) { + (void) filename; + (void) samprate; #if 0 if (samprate != d_bandwidth) { return STATUS_ERROR; diff --git a/dsp/rx_meter.cpp b/dsp/rx_meter.cpp index cc7e00fce..214bb4d02 100644 --- a/dsp/rx_meter.cpp +++ b/dsp/rx_meter.cpp @@ -57,6 +57,8 @@ int rx_meter_c::work (int noutput_items, gr_vector_const_void_star &input_items, gr_vector_void_star &output_items) { + (void) output_items; // unused + const gr_complex *in = (const gr_complex *) input_items[0]; float pwr = 0.0; int i = 0;