aboutsummaryrefslogtreecommitdiff
path: root/src/xz/message.c
diff options
context:
space:
mode:
authorLasse Collin <lasse.collin@tukaani.org>2010-06-02 23:13:55 +0300
committerLasse Collin <lasse.collin@tukaani.org>2010-06-02 23:13:55 +0300
commitd8b41eedce486d400f701b757b7b5e4e32276618 (patch)
tree51cdaf863fa9ffbb145e5edfa8ece749a18f259b /src/xz/message.c
parentSilence a bogus Valgrind warning. (diff)
downloadxz-d8b41eedce486d400f701b757b7b5e4e32276618.tar.xz
Fix compiling with -Werror.
Diffstat (limited to 'src/xz/message.c')
-rw-r--r--src/xz/message.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/xz/message.c b/src/xz/message.c
index ad93573a..6eed5f7e 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) {