aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJack Lloyd <[email protected]>2016-09-28 06:31:40 -0400
committerJack Lloyd <[email protected]>2016-09-28 06:31:40 -0400
commitf1f6925ac1778d05eeffacff9c8ea4af59d69846 (patch)
tree2982e76988bd72c73895403e8e683d1f8cc93c1f
parent2153131a050e6b1d97b6783f5741a879faf9fc95 (diff)
Remove unused variable
[ci skip]
-rw-r--r--src/cli/speed.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/cli/speed.cpp b/src/cli/speed.cpp
index 1323fbf3a..bd087e8e4 100644
--- a/src/cli/speed.cpp
+++ b/src/cli/speed.cpp
@@ -515,8 +515,6 @@ class Speed final : public Command
const Botan::SymmetricKey key(rng(), cipher.maximum_keylength());
ks_timer.run([&] { cipher.set_key(key); });
- std::chrono::milliseconds half = runtime / 2;
-
encrypt_timer.run_until_elapsed(runtime, [&] { cipher.encrypt(buffer); });
output() << Timer::result_string_bps(encrypt_timer);