aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJack Lloyd <[email protected]>2016-11-27 15:30:06 -0500
committerJack Lloyd <[email protected]>2016-11-27 15:30:13 -0500
commit6fd3d3f978021e2c2cefacca294ece15056e210d (patch)
treeca7590be963c235840fd1802d9bd1a66d64e76da /src
parent1542134438b20e2f0291edf0769bf2639580020a (diff)
Avoid unused variable warning if compression disabled
[ci skip]
Diffstat (limited to 'src')
-rw-r--r--src/tests/test_compression.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tests/test_compression.cpp b/src/tests/test_compression.cpp
index e5db055a5..517502a5a 100644
--- a/src/tests/test_compression.cpp
+++ b/src/tests/test_compression.cpp
@@ -12,6 +12,8 @@
namespace Botan_Tests {
+#if defined(BOTAN_HAS_COMPRESSION)
+
namespace {
const char* text_str =
@@ -50,8 +52,6 @@ const char* text_str =
"All mimsy were the borogoves,"
"And the mome raths outgrabe.";
-#if defined(BOTAN_HAS_COMPRESSION)
-
class Compression_Tests : public Test
{
public: