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:
parent
5ba9459e6c
commit
82e30fed66
1 changed files with 1 additions and 1 deletions
|
@ -33,7 +33,7 @@
|
||||||
|
|
||||||
// This table and macro allow getting more readable error messages when
|
// This table and macro allow getting more readable error messages when
|
||||||
// comparing the lzma_ret enumeration values.
|
// comparing the lzma_ret enumeration values.
|
||||||
static const char *enum_strings_lzma_ret[] = {
|
static const char enum_strings_lzma_ret[][24] = {
|
||||||
"LZMA_OK",
|
"LZMA_OK",
|
||||||
"LZMA_STREAM_END",
|
"LZMA_STREAM_END",
|
||||||
"LZMA_NO_CHECK",
|
"LZMA_NO_CHECK",
|
||||||
|
|
Loading…
Reference in a new issue