From 0f6ef4bf6ed476fa7d10aef9b0af1337d1bbdf80 Mon Sep 17 00:00:00 2001 From: Moritz Fischer Date: Sun, 27 Jan 2019 13:24:36 -0800 Subject: 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 --- host/examples/benchmark_rate.cpp | 1 - 1 file changed, 1 deletion(-) (limited to 'host') 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; } } } -- cgit v1.2.3