aboutsummaryrefslogtreecommitdiff
path: root/src/liblzma/lzma/lzma_encoder.c
diff options
context:
space:
mode:
authorLasse Collin <lasse.collin@tukaani.org>2009-09-11 09:25:09 +0300
committerLasse Collin <lasse.collin@tukaani.org>2009-09-11 09:25:09 +0300
commit18a4233a53d9b82abac7db7d7804684c5fea9c2c (patch)
tree4b316054c2b0ad72284cca4ce41edb3402b45598 /src/liblzma/lzma/lzma_encoder.c
parentAdd OS/2-specific code to physmem.h. (diff)
downloadxz-18a4233a53d9b82abac7db7d7804684c5fea9c2c.tar.xz
Fix a couple of warnings.
Diffstat (limited to 'src/liblzma/lzma/lzma_encoder.c')
-rw-r--r--src/liblzma/lzma/lzma_encoder.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/liblzma/lzma/lzma_encoder.c b/src/liblzma/lzma/lzma_encoder.c
index bda194cd..e9836978 100644
--- a/src/liblzma/lzma/lzma_encoder.c
+++ b/src/liblzma/lzma/lzma_encoder.c
@@ -486,7 +486,7 @@ lzma_lzma_encoder_reset(lzma_coder *coder, const lzma_options_lzma *options)
rc_reset(&coder->rc);
// State
- coder->state = 0;
+ coder->state = STATE_LIT_LIT;
for (size_t i = 0; i < REP_DISTANCES; ++i)
coder->reps[i] = 0;