diff options
author | Lasse Collin <lasse.collin@tukaani.org> | 2015-11-04 23:14:00 +0200 |
---|---|---|
committer | Lasse Collin <lasse.collin@tukaani.org> | 2015-11-04 23:14:00 +0200 |
commit | 14115f84a38161d55eaa2d070f08739bde37e966 (patch) | |
tree | 6773aa61b4d1ee75b16393dc4f1fe3ef339cc16b /src/liblzma/lz/lz_decoder.h | |
parent | liblzma: Rename lzma_presets.c back to lzma_encoder_presets.c. (diff) | |
download | xz-14115f84a38161d55eaa2d070f08739bde37e966.tar.xz |
liblzma: Make Valgrind happier with optimized (gcc -O2) liblzma.
When optimizing, GCC can reorder code so that an uninitialized
value gets used in a comparison, which makes Valgrind unhappy.
It doesn't happen when compiled with -O0, which I tend to use
when running Valgrind.
Thanks to Rich Prohaska. I remember this being mentioned long
ago by someone else but nothing was done back then.
Diffstat (limited to 'src/liblzma/lz/lz_decoder.h')
0 files changed, 0 insertions, 0 deletions