]> granicus.if.org Git - xz/commitdiff
Fix compiling with -Werror.
authorLasse Collin <lasse.collin@tukaani.org>
Wed, 2 Jun 2010 20:13:55 +0000 (23:13 +0300)
committerLasse Collin <lasse.collin@tukaani.org>
Wed, 2 Jun 2010 20:13:55 +0000 (23:13 +0300)
src/xz/message.c

index ad93573a0306872be4e9558efa8799f8ea78a64f..6eed5f7e690f7ceded944d29de777c4adef83460 100644 (file)
@@ -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) {