diff options
Diffstat (limited to 'C/Lzma2Dec.c')
-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) |