diff options
author | Igor Pavlov <87184205+ip7z@users.noreply.github.com> | 2024-05-14 00:00:00 +0000 |
---|---|---|
committer | Igor Pavlov <87184205+ip7z@users.noreply.github.com> | 2024-05-15 23:55:04 +0500 |
commit | fc662341e6f85da78ada0e443f6116b978f79f22 (patch) | |
tree | 1be1cc402a7a9cbc18d4eeea6b141354c2d559e3 /C/Lzma2Dec.c | |
parent | 5b39dc76f1bc82f941d5c800ab9f34407a06b53a (diff) | |
download | 7zip-24.05.tar.gz 7zip-24.05.tar.bz2 7zip-24.05.zip |
24.0524.05
Diffstat (limited to '')
-rw-r--r-- | C/Lzma2Dec.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/C/Lzma2Dec.c b/C/Lzma2Dec.c index 388cbc7..8bf54e4 100644 --- a/C/Lzma2Dec.c +++ b/C/Lzma2Dec.c | |||
@@ -1,5 +1,5 @@ | |||
1 | /* Lzma2Dec.c -- LZMA2 Decoder | 1 | /* Lzma2Dec.c -- LZMA2 Decoder |
2 | 2023-03-03 : Igor Pavlov : Public domain */ | 2 | 2024-03-01 : Igor Pavlov : Public domain */ |
3 | 3 | ||
4 | /* #define SHOW_DEBUG_INFO */ | 4 | /* #define SHOW_DEBUG_INFO */ |
5 | 5 | ||
@@ -157,8 +157,10 @@ static unsigned Lzma2Dec_UpdateState(CLzma2Dec *p, Byte b) | |||
157 | p->decoder.prop.lp = (Byte)lp; | 157 | p->decoder.prop.lp = (Byte)lp; |
158 | return LZMA2_STATE_DATA; | 158 | return LZMA2_STATE_DATA; |
159 | } | 159 | } |
160 | |||
161 | default: | ||
162 | return LZMA2_STATE_ERROR; | ||
160 | } | 163 | } |
161 | return LZMA2_STATE_ERROR; | ||
162 | } | 164 | } |
163 | 165 | ||
164 | static void LzmaDec_UpdateWithUncompressed(CLzmaDec *p, const Byte *src, SizeT size) | 166 | static void LzmaDec_UpdateWithUncompressed(CLzmaDec *p, const Byte *src, SizeT size) |