From e1fa7d198e49e0364eec41b2db66f16565bf1885 Mon Sep 17 00:00:00 2001 From: John Wellbelove Date: Wed, 20 Apr 2022 13:38:22 +0200 Subject: [PATCH] Removed unused code. --- test/test_bit.cpp | 14 -------------- test/test_delegate_cpp03.cpp | 1 - 2 files changed, 15 deletions(-) diff --git a/test/test_bit.cpp b/test/test_bit.cpp index 0a92307a..55d5ce27 100644 --- a/test/test_bit.cpp +++ b/test/test_bit.cpp @@ -130,20 +130,6 @@ namespace return count & 1; } - //*********************************** - // Power of 2. - uint64_t test_power_of_2(int power) - { - uint64_t result = 1ULL; - - for (int i = 0; i < power; ++i) - { - result *= 2; - } - - return result; - } - //*********************************** // Count the bit width the long way. template diff --git a/test/test_delegate_cpp03.cpp b/test/test_delegate_cpp03.cpp index 821f31f9..dfb7c3a4 100644 --- a/test/test_delegate_cpp03.cpp +++ b/test/test_delegate_cpp03.cpp @@ -37,7 +37,6 @@ namespace { //***************************************************************************** const int VALUE1 = 1; - const int VALUE2 = 2; bool function_called = false; bool parameter_correct = false;