mirror of
https://github.com/libretro/RetroArch
synced 2025-03-01 16:13:40 +00:00
Cleanup
This commit is contained in:
parent
2bc75715f7
commit
6580c817c2
@ -133,8 +133,6 @@ static bool zlib_stream_decompress_data_to_file_init(
|
|||||||
zlib_file_handle_t *handle,
|
zlib_file_handle_t *handle,
|
||||||
const uint8_t *cdata, uint32_t csize, uint32_t size)
|
const uint8_t *cdata, uint32_t csize, uint32_t size)
|
||||||
{
|
{
|
||||||
z_stream *stream = NULL;
|
|
||||||
|
|
||||||
if (!handle)
|
if (!handle)
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
@ -149,12 +147,7 @@ static bool zlib_stream_decompress_data_to_file_init(
|
|||||||
if (!handle->data)
|
if (!handle->data)
|
||||||
goto error;
|
goto error;
|
||||||
|
|
||||||
stream = (z_stream*)handle->stream;
|
zlib_stream_set(handle->stream, csize, size,
|
||||||
|
|
||||||
if (!stream)
|
|
||||||
goto error;
|
|
||||||
|
|
||||||
zlib_stream_set(stream, csize, size,
|
|
||||||
(const uint8_t*)cdata, handle->data);
|
(const uint8_t*)cdata, handle->data);
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user