aboutsummaryrefslogtreecommitdiffstats
path: root/host/examples
diff options
context:
space:
mode:
authorMoritz Fischer <moritz.fischer@ettus.com>2019-01-27 13:24:36 -0800
committerBrent Stapleton <brent.stapleton@ettus.com>2019-02-15 11:37:03 -0800
commit0f6ef4bf6ed476fa7d10aef9b0af1337d1bbdf80 (patch)
tree83b841d0e9b4376291de4b37d1f0443113b6307c /host/examples
parentb4d7d9cd3995ce32fd87e562756b70af3e907b14 (diff)
downloaduhd-0f6ef4bf6ed476fa7d10aef9b0af1337d1bbdf80.tar.gz
uhd-0f6ef4bf6ed476fa7d10aef9b0af1337d1bbdf80.tar.bz2
uhd-0f6ef4bf6ed476fa7d10aef9b0af1337d1bbdf80.zip
examples: benchmark_rate: Remove dead store to is_locked
Remove dead store to is_locked. The variable isn't read before being overwritten, so the extra store is useless. Signed-off-by: Moritz Fischer <moritz.fischer@ettus.com>
Diffstat (limited to 'host/examples')
-rw-r--r--host/examples/benchmark_rate.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/host/examples/benchmark_rate.cpp b/host/examples/benchmark_rate.cpp
index b97de09ac..a76da3c18 100644
--- a/host/examples/benchmark_rate.cpp
+++ b/host/examples/benchmark_rate.cpp
@@ -437,7 +437,6 @@ int UHD_SAFE_MAIN(int argc, char* argv[])
<< i << std::endl;
return -1;
}
- is_locked = false;
}
}
}