mirror of https://git.tukaani.org/xz.git
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:
parent
5ba9459e6c
commit
82e30fed66
|
@ -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",
|
||||
|
|
Loading…
Reference in New Issue