mirror of
https://github.com/mhx/dwarfs.git
synced 2025-09-14 14:59:52 -04:00
Remove unused variable
This commit is contained in:
parent
5112867b92
commit
ce436345f9
@ -734,10 +734,8 @@ size_t lzma_block_decompressor::get_uncompressed_size(const uint8_t* data,
|
|||||||
lzma_stream s = LZMA_STREAM_INIT;
|
lzma_stream s = LZMA_STREAM_INIT;
|
||||||
off_t pos = size - LZMA_STREAM_HEADER_SIZE;
|
off_t pos = size - LZMA_STREAM_HEADER_SIZE;
|
||||||
const uint32_t* ptr = reinterpret_cast<const uint32_t*>(data + size) - 1;
|
const uint32_t* ptr = reinterpret_cast<const uint32_t*>(data + size) - 1;
|
||||||
lzma_vli stream_padding = 0;
|
|
||||||
|
|
||||||
while (*ptr == 0) {
|
while (*ptr == 0) {
|
||||||
stream_padding += 4;
|
|
||||||
pos -= 4;
|
pos -= 4;
|
||||||
--ptr;
|
--ptr;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user