summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEric Engestrom <[email protected]>2018-08-16 15:47:13 +0100
committerEric Engestrom <[email protected]>2018-08-16 17:38:31 +0100
commit7a1f4340b647d9c4e4e62bd0cda620eb2d927cd9 (patch)
tree338a7d7712f382e0a1285da19a23517ae678acde
parent6cf0d4f91f97728472af9edce68d75f3aa757519 (diff)
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 <[email protected]> Reviewed-by: Lionel Landwerlin <[email protected]>
-rw-r--r--src/intel/vulkan/anv_device.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/intel/vulkan/anv_device.c b/src/intel/vulkan/anv_device.c
index 897249baa6a..d8b67b54d63 100644
--- a/src/intel/vulkan/anv_device.c
+++ b/src/intel/vulkan/anv_device.c
@@ -1445,7 +1445,6 @@ VkResult anv_EnumerateDeviceExtensionProperties(
{
ANV_FROM_HANDLE(anv_physical_device, device, physicalDevice);
VK_OUTARRAY_MAKE(out, pProperties, pPropertyCount);
- (void)device;
for (int i = 0; i < ANV_DEVICE_EXTENSION_COUNT; i++) {
if (device->supported_extensions.extensions[i]) {