[Mesa-dev] [PATCH mesa] anv: drop cast-to-void of used variable
Lionel Landwerlin
lionel.g.landwerlin at intel.com
Thu Aug 16 14:53:46 UTC 2018
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin at intel.com>
On 16/08/18 15:48, Eric Engestrom wrote:
> `device` is used 2 lines below, even visible in the diff context printed.
>
> Signed-off-by: Eric Engestrom <eric.engestrom at intel.com>
> ---
> src/intel/vulkan/anv_device.c | 1 -
> 1 file changed, 1 deletion(-)
>
> diff --git a/src/intel/vulkan/anv_device.c b/src/intel/vulkan/anv_device.c
> index 897249baa6aea4958c23..d8b67b54d638fb42dcfa 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]) {
More information about the mesa-dev
mailing list