aboutsummaryrefslogtreecommitdiff
path: root/src/liblzma/common/block_encoder.h
diff options
context:
space:
mode:
authorJia Tan <jiat0218@gmail.com>2023-06-28 20:31:11 +0800
committerLasse Collin <lasse.collin@tukaani.org>2023-07-18 13:20:16 +0300
commit1155471651ad456c5f90aee6435931fae65682bf (patch)
treef01cc4c079d7be4be60d0f18a40ac07a4f434ea9 /src/liblzma/common/block_encoder.h
parentUpdate THANKS. (diff)
downloadxz-1155471651ad456c5f90aee6435931fae65682bf.tar.xz
liblzma: Prevent uninitialzed warning in mt stream encoder.
This change only impacts the compiler warning since it was impossible for the wait_abs struct in stream_encode_mt() to be used before it was initialized since mythread_condtime_set() will always be called before mythread_cond_timedwait(). Since the mythread.h code is different between the POSIX and Windows versions, this warning was only present on Windows builds. Thanks to Arthur S for reporting the warning and providing an initial patch.
Diffstat (limited to 'src/liblzma/common/block_encoder.h')
0 files changed, 0 insertions, 0 deletions