mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2024-11-14 21:37:52 -07:00
Fix shadowing warnings
Fixes type/variable shadowing warnings on debian and ubuntu
This commit is contained in:
parent
636bf38824
commit
fa61fc4f9c
@ -146,7 +146,7 @@ s32 SDIOSlot0Device::ExecuteCommand(const Request& request, u32 buffer_in, u32 b
|
||||
{
|
||||
// The game will send us a SendCMD with this information. To be able to read and write
|
||||
// to a file we need to prepare a 0x10 byte output buffer as response.
|
||||
struct Request
|
||||
struct
|
||||
{
|
||||
u32 command;
|
||||
u32 type;
|
||||
|
@ -186,8 +186,8 @@ void PCAPSSLCaptureLogger::LogIPv4(LogType log_type, const u8* data, u16 length,
|
||||
}
|
||||
|
||||
std::vector<u8> packet;
|
||||
auto insert = [&](const auto* data, std::size_t size) {
|
||||
const u8* begin = reinterpret_cast<const u8*>(data);
|
||||
auto insert = [&](const auto* new_data, std::size_t size) {
|
||||
const u8* begin = reinterpret_cast<const u8*>(new_data);
|
||||
packet.insert(packet.end(), begin, begin + size);
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user