Fix compiling with -Werror.

This commit is contained in:
Lasse Collin 2010-06-02 23:13:55 +03:00
parent b5fbab6123
commit d8b41eedce
1 changed files with 2 additions and 2 deletions

View File

@ -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) {