Skip to content

Commit

Permalink
Fix unused variable warnings.
Browse files Browse the repository at this point in the history
  • Loading branch information
csete committed Aug 8, 2013
1 parent 2f95f07 commit 796ca0b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
3 changes: 3 additions & 0 deletions applications/gqrx/receiver.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
Expand Down Expand Up @@ -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;
Expand Down
2 changes: 2 additions & 0 deletions dsp/rx_meter.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 796ca0b

Please sign in to comment.