From f3c9bd014cddc6e02c136703bb59af6bdcbe6d04 Mon Sep 17 00:00:00 2001 From: Nick Terrell Date: Tue, 16 May 2017 16:13:51 -0700 Subject: [PATCH] [linux-kernel] Remove unused variables in test --- contrib/linux-kernel/test/XXHashUserlandTest.cpp | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/contrib/linux-kernel/test/XXHashUserlandTest.cpp b/contrib/linux-kernel/test/XXHashUserlandTest.cpp index 4ded2ae5..f50401a2 100644 --- a/contrib/linux-kernel/test/XXHashUserlandTest.cpp +++ b/contrib/linux-kernel/test/XXHashUserlandTest.cpp @@ -26,18 +26,6 @@ const std::array kTestInputs = { "0123456789abcdef0123456789abcdef0", "0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef", }; -char const kEmpty[] = ""; -char const kOne[] = "0"; -char const kFive[] = "01234"; -char const kFifteen[] = "0123456789abcde"; -char const kSixteen[] = "0123456789abcdef"; -char const kSeventeen[] = "0123456789abcdef0"; -char const kTwenty[] = "0123456789abcdef0123"; -char const kThirtyOne[] = "0123456789abcdef0123456789abcde"; -char const kThirtyTwo[] = "0123456789abcdef0123456789abcdef"; -char const kThirtyThree[] = "0123456789abcdef0123456789abcdef0"; -char const kSixtyFour[] = "0123456789abcdef0123456789abcdef" - "0123456789abcdef0123456789abcdef"; bool testXXH32(const void *input, const size_t length, uint32_t seed) { return XXH32(input, length, seed) == xxh32(input, length, seed);