diff options
author | Jack Lloyd <[email protected]> | 2016-11-27 15:30:06 -0500 |
---|---|---|
committer | Jack Lloyd <[email protected]> | 2016-11-27 15:30:13 -0500 |
commit | 6fd3d3f978021e2c2cefacca294ece15056e210d (patch) | |
tree | ca7590be963c235840fd1802d9bd1a66d64e76da /src/tests | |
parent | 1542134438b20e2f0291edf0769bf2639580020a (diff) |
Avoid unused variable warning if compression disabled
[ci skip]
Diffstat (limited to 'src/tests')
-rw-r--r-- | src/tests/test_compression.cpp | 4 |
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: |