mirror of https://git.tukaani.org/xz.git
Fix compiling with -Werror.
This commit is contained in:
parent
b5fbab6123
commit
d8b41eedce
|
@ -912,8 +912,8 @@ message_filters_to_str(const lzma_filter *filters, bool all_known)
|
||||||
case LZMA_FILTER_LZMA1:
|
case LZMA_FILTER_LZMA1:
|
||||||
case LZMA_FILTER_LZMA2: {
|
case LZMA_FILTER_LZMA2: {
|
||||||
const lzma_options_lzma *opt = filters[i].options;
|
const lzma_options_lzma *opt = filters[i].options;
|
||||||
const char *mode;
|
const char *mode = NULL;
|
||||||
const char *mf;
|
const char *mf = NULL;
|
||||||
|
|
||||||
if (all_known) {
|
if (all_known) {
|
||||||
switch (opt->mode) {
|
switch (opt->mode) {
|
||||||
|
|
Loading…
Reference in New Issue