mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-05 22:41:25 +12:00
Use maybe_unused macro for chip var
Var chip is only used in the WIN32 ifdef block - use maybe_unused to silence the compiler warning about unused variable.
This commit is contained in:
parent
0958c10f88
commit
bdefeaf6f9
1 changed files with 1 additions and 1 deletions
|
@ -256,7 +256,7 @@ namespace vk
|
||||||
void create_dma_block(std::unique_ptr<dma_block>& block, u32 base_address, usz expected_length)
|
void create_dma_block(std::unique_ptr<dma_block>& block, u32 base_address, usz expected_length)
|
||||||
{
|
{
|
||||||
const auto vendor = g_render_device->gpu().get_driver_vendor();
|
const auto vendor = g_render_device->gpu().get_driver_vendor();
|
||||||
const auto chip = g_render_device->gpu().get_chip_class();
|
[[maybe_unused]] const auto chip = g_render_device->gpu().get_chip_class();
|
||||||
|
|
||||||
#ifdef _WIN32
|
#ifdef _WIN32
|
||||||
bool allow_host_buffers;
|
bool allow_host_buffers;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue