From 82e30fed66a89706388a8c15dc954d84e63f38fa Mon Sep 17 00:00:00 2001 From: Lasse Collin Date: Thu, 16 Jun 2022 15:02:57 +0300 Subject: [PATCH] Tests: Use char[][24] array for enum_strings_lzma_ret. Array of pointers to short strings is a bit pointless here and now it's fully const. --- tests/tests.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/tests.h b/tests/tests.h index 73875dd5..b76a448e 100644 --- a/tests/tests.h +++ b/tests/tests.h @@ -33,7 +33,7 @@ // This table and macro allow getting more readable error messages when // comparing the lzma_ret enumeration values. -static const char *enum_strings_lzma_ret[] = { +static const char enum_strings_lzma_ret[][24] = { "LZMA_OK", "LZMA_STREAM_END", "LZMA_NO_CHECK",