summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthias P. Braendli <matthias.braendli@mpb.li>2014-02-11 18:06:16 +0100
committerMatthias P. Braendli <matthias.braendli@mpb.li>2014-02-11 18:08:03 +0100
commit4c6edcfd277b0987bbf39345bcdcc223ed323813 (patch)
treeaf4dc0748314797301086c8a7e25137f30272706
parent6f3ac13597eff5f00c56e80e1b5012d2706985a5 (diff)
downloaddabmod-4c6edcfd277b0987bbf39345bcdcc223ed323813.tar.gz
dabmod-4c6edcfd277b0987bbf39345bcdcc223ed323813.tar.bz2
dabmod-4c6edcfd277b0987bbf39345bcdcc223ed323813.zip
fix minor compilation warning
-rw-r--r--src/OutputUHD.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/OutputUHD.cpp b/src/OutputUHD.cpp
index 68b95ad..0e50e33 100644
--- a/src/OutputUHD.cpp
+++ b/src/OutputUHD.cpp
@@ -270,7 +270,7 @@ void UHDWorker::process()
struct UHDWorkerFrameData* frame;
size_t num_acc_samps; //number of accumulated samples
- int write_fail_count;
+ //int write_fail_count;
#if ENABLE_UHD
// Transmit timeout
@@ -292,7 +292,7 @@ void UHDWorker::process()
md.has_time_spec = false;
md.time_spec = uhd::time_spec_t(0.0);
num_acc_samps = 0;
- write_fail_count = 0;
+ //write_fail_count = 0;
/* Wait for barrier */
// this wait will hopefully always be the second one