]> git.ipfire.org Git - thirdparty/xz.git/commit
Tests: Fix C99/C11 compatibility when features are disabled
authorLasse Collin <lasse.collin@tukaani.org>
Mon, 22 Apr 2024 13:39:44 +0000 (16:39 +0300)
committerLasse Collin <lasse.collin@tukaani.org>
Mon, 22 Apr 2024 13:39:44 +0000 (16:39 +0300)
commitb101e1d1dbc81577c0c9aa0cb89cf2e46a15eb82
tree1ccfbd2bb906854f6dc91b8885fd041fd8117417
parentf8f3a220ac8afcb8cb2812917d3b77e00c2eab0d
Tests: Fix C99/C11 compatibility when features are disabled

The array could become empty and then the initializer would be
simply {} which is allowed only in GNU-C and C23.
tests/test_filter_flags.c