diff options
author | Jia Tan <jiat0218@gmail.com> | 2023-06-28 20:31:11 +0800 |
---|---|---|
committer | Jia Tan <jiat0218@gmail.com> | 2023-06-29 00:06:16 +0800 |
commit | 78704f36e74205857c898a351c757719a6c8b666 (patch) | |
tree | 080ff23ae93cb0bece46abfedcefd7fdd97dcfd8 /windows | |
parent | liblzma: Prevent warning for MSYS2 Windows build. (diff) | |
download | xz-78704f36e74205857c898a351c757719a6c8b666.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 '')
0 files changed, 0 insertions, 0 deletions