mirror of https://git.tukaani.org/xz.git
liblzma: Remove non-portable empty initializer.
Commit 78704f36e7
added an empty
initializer {} to prevent a warning. The empty initializer is a GNU
extension and results in a build failure on MSVC. The -wpedantic flag
warns about empty initializers.
This commit is contained in:
parent
3aca4f629c
commit
17f8844e6f
|
@ -743,7 +743,7 @@ stream_encode_mt(void *coder_ptr, const lzma_allocator *allocator,
|
||||||
|
|
||||||
// These are for wait_for_work().
|
// These are for wait_for_work().
|
||||||
bool has_blocked = false;
|
bool has_blocked = false;
|
||||||
mythread_condtime wait_abs = {};
|
mythread_condtime wait_abs = { 0 };
|
||||||
|
|
||||||
while (true) {
|
while (true) {
|
||||||
mythread_sync(coder->mutex) {
|
mythread_sync(coder->mutex) {
|
||||||
|
|
Loading…
Reference in New Issue