Misc: Unreachable code warning fixes

This commit is contained in:
Stenzek
2023-09-05 21:13:14 +10:00
parent be71fb6000
commit adc124c759
13 changed files with 0 additions and 23 deletions

View File

@ -89,7 +89,6 @@ D3D11StreamBuffer::MappingResult D3D11StreamBuffer::Map(ID3D11DeviceContext1* co
Log_ErrorPrintf("Map failed: 0x%08X (alignment %u, minsize %u, size %u, position %u, map type %u)", hr, alignment,
min_size, m_size, m_position, static_cast<u32>(map_type));
Panic("Map failed");
return {};
}
return MappingResult{static_cast<char*>(sr.pData) + m_position, m_position, m_position / alignment,