镜像自地址
https://git.tukaani.org/xz.git
已同步 2025-06-30 17:36:36 +00:00
Tests: Remove a duplicate branch from tests/tests.h.
The duplication was introduced about eleven years ago and should have been cleaned up back then already. This was caught by -Wduplicated-branches.
这个提交包含在:
父节点
1d4a904d8f
当前提交
dfda7cf6af
@ -94,13 +94,8 @@ coder_loop(lzma_stream *strm, uint8_t *in, size_t in_size,
|
||||
if (ret != expected_ret)
|
||||
error = true;
|
||||
|
||||
if (expected_ret == LZMA_STREAM_END) {
|
||||
if (strm->total_in != in_size || strm->total_out != out_size)
|
||||
error = true;
|
||||
} else {
|
||||
if (strm->total_in != in_size || strm->total_out != out_size)
|
||||
error = true;
|
||||
}
|
||||
if (strm->total_in != in_size || strm->total_out != out_size)
|
||||
error = true;
|
||||
|
||||
return error;
|
||||
}
|
||||
|
正在加载...
x
在新工单中引用
屏蔽一个用户