summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorLasse Collin <lasse.collin@tukaani.org>2022-10-19 17:14:57 +0300
committerLasse Collin <lasse.collin@tukaani.org>2022-10-19 17:14:57 +0300
commit82fcb7cfc17ce62f79ebc7ca2374e1daca5e4d5e (patch)
tree78cf1de530145ed91c46a683ccb3512f03380e20 /tests
parentb5f8271b45b9b0e59485ffba3640ca3418835ec4 (diff)
downloadxz-82fcb7cfc17ce62f79ebc7ca2374e1daca5e4d5e.tar.gz
Tests: Fix a warning in test_memlimit.c when decoders are disabled.
Diffstat (limited to 'tests')
-rw-r--r--tests/test_memlimit.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/test_memlimit.c b/tests/test_memlimit.c
index 4e16903..c45a44b 100644
--- a/tests/test_memlimit.c
+++ b/tests/test_memlimit.c
@@ -20,7 +20,10 @@
static uint8_t *in;
static size_t in_size;
+
+#ifdef HAVE_DECODERS
static uint8_t out[8192];
+#endif
static void