radv: Fix unused label warning on Windows

Reviewed-by: Jesse Natalie <jenatali@microsoft.com>
Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6162>
This commit is contained in:
James Park 2021-04-22 13:12:19 -07:00 committed by Marge Bot
parent 8e73ed66ad
commit 288f6b81d6
1 changed files with 2 additions and 0 deletions

View File

@ -693,7 +693,9 @@ radv_physical_device_try_create(struct radv_instance *instance, drmDevicePtr drm
fail_disk_cache:
disk_cache_destroy(device->disk_cache);
#ifdef ENABLE_SHADER_CACHE
fail_wsi:
#endif
device->ws->destroy(device->ws);
fail_base:
vk_physical_device_finish(&device->vk);