vulkandisplay: silence an unused but set error with no enable winsys implementations
This commit is contained in:
parent
09883b6a6b
commit
c237c8de6a
@ -503,6 +503,10 @@ gst_vulkan_display_choose_type (GstVulkanInstance * instance)
|
||||
first_supported = GST_VULKAN_DISPLAY_TYPE_WIN32;
|
||||
#endif
|
||||
|
||||
/* if there are no winsys enabled at build time, we get a 'unused but set'
|
||||
* warning. Remove that. */
|
||||
(void) window_str;
|
||||
|
||||
if (type)
|
||||
return type;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user