From: Lasse Collin Date: Wed, 2 Jun 2010 20:13:55 +0000 (+0300) Subject: Fix compiling with -Werror. X-Git-Tag: upstream/5.1.3~299 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=d8b41eedce486d400f701b757b7b5e4e32276618;p=platform%2Fupstream%2Fxz.git Fix compiling with -Werror. --- diff --git a/src/xz/message.c b/src/xz/message.c index ad93573..6eed5f7 100644 --- a/src/xz/message.c +++ b/src/xz/message.c @@ -912,8 +912,8 @@ message_filters_to_str(const lzma_filter *filters, bool all_known) case LZMA_FILTER_LZMA1: case LZMA_FILTER_LZMA2: { const lzma_options_lzma *opt = filters[i].options; - const char *mode; - const char *mf; + const char *mode = NULL; + const char *mf = NULL; if (all_known) { switch (opt->mode) {