mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-08 13:28:06 +02:00
anv: drop cast-to-void of used variable
`device` is used 2 lines below, even visible in the diff context printed. Signed-off-by: Eric Engestrom <eric.engestrom@intel.com> Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
This commit is contained in:
parent
6cf0d4f91f
commit
7a1f4340b6
1 changed files with 0 additions and 1 deletions
|
|
@ -1445,7 +1445,6 @@ VkResult anv_EnumerateDeviceExtensionProperties(
|
||||||
{
|
{
|
||||||
ANV_FROM_HANDLE(anv_physical_device, device, physicalDevice);
|
ANV_FROM_HANDLE(anv_physical_device, device, physicalDevice);
|
||||||
VK_OUTARRAY_MAKE(out, pProperties, pPropertyCount);
|
VK_OUTARRAY_MAKE(out, pProperties, pPropertyCount);
|
||||||
(void)device;
|
|
||||||
|
|
||||||
for (int i = 0; i < ANV_DEVICE_EXTENSION_COUNT; i++) {
|
for (int i = 0; i < ANV_DEVICE_EXTENSION_COUNT; i++) {
|
||||||
if (device->supported_extensions.extensions[i]) {
|
if (device->supported_extensions.extensions[i]) {
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue