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.
This commit is contained in:
Lasse Collin 2022-06-16 15:02:57 +03:00
parent 5ba9459e6c
commit 82e30fed66
1 changed files with 1 additions and 1 deletions

View File

@ -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",