diff options
author | Ross Lagerwall <rosslagerwall@gmail.com> | 2012-05-12 06:30:33 (GMT) |
---|---|---|
committer | Ross Lagerwall <rosslagerwall@gmail.com> | 2012-05-12 06:30:33 (GMT) |
commit | 4d688e3275d5a10e2321571392cdc31945bb8a89 (patch) | |
tree | 3c57077fbd1e80bdad6030fe878a7e5b470dc2f3 /Modules/_lzmamodule.c | |
parent | 1ff2e35e8404a7775790e2767c117a1c44a7b3d7 (diff) | |
download | cpython-4d688e3275d5a10e2321571392cdc31945bb8a89.zip cpython-4d688e3275d5a10e2321571392cdc31945bb8a89.tar.gz cpython-4d688e3275d5a10e2321571392cdc31945bb8a89.tar.bz2 |
Remove uninitialized compiler warning.
Diffstat (limited to 'Modules/_lzmamodule.c')
-rw-r--r-- | Modules/_lzmamodule.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/Modules/_lzmamodule.c b/Modules/_lzmamodule.c index 8ea3d01..029d4dd 100644 --- a/Modules/_lzmamodule.c +++ b/Modules/_lzmamodule.c @@ -412,7 +412,11 @@ build_filter_spec(const lzma_filter *f) ADD_FIELD(options, lc); ADD_FIELD(options, lp); ADD_FIELD(options, pb); - case LZMA_FILTER_LZMA2: + ADD_FIELD(options, dict_size); + break; + } + case LZMA_FILTER_LZMA2: { + lzma_options_lzma *options = f->options; ADD_FIELD(options, dict_size); break; } |