1
0
Fork 0
mirror of https://git.tukaani.org/xz.git synced 2024-04-04 12:36:23 +02:00

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

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