Skip to content

Commit

Permalink
Remove unused variables
Browse files Browse the repository at this point in the history
  • Loading branch information
Megamouse committed May 16, 2024
1 parent 975af0d commit 7e5eec3
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions rpcs3/util/serialization_ext.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -855,8 +855,6 @@ bool compressed_zstd_serialization_file_handler::handle_file_op(utils::serial& a
return false;
}

auto& manager = *m_stream;

if (data)
{
ensure(false);
Expand Down Expand Up @@ -1253,7 +1251,6 @@ void compressed_zstd_serialization_file_handler::stream_data_prepare_thread_op()
break;
}

usz buffer_offset = 0;
stream_data.resize(::ZSTD_compressBound(data->size()));
const usz out_size = ZSTD_compressCCtx(m_zc, stream_data.data(), stream_data.size(), data->data(), data->size(), ZSTD_btultra);

Expand Down Expand Up @@ -1301,7 +1298,6 @@ void compressed_zstd_serialization_file_handler::file_writer_thread_op()
break;
}

const usz last_size = data->size();
m_file->write(*data);
}
}
Expand Down

0 comments on commit 7e5eec3

Please sign in to comment.