mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-06-07 07:58:51 +00:00
vulkandisplay: silence an unused but set error with no enable winsys implementations
This commit is contained in:
parent
09883b6a6b
commit
c237c8de6a
1 changed files with 4 additions and 0 deletions
|
@ -503,6 +503,10 @@ gst_vulkan_display_choose_type (GstVulkanInstance * instance)
|
||||||
first_supported = GST_VULKAN_DISPLAY_TYPE_WIN32;
|
first_supported = GST_VULKAN_DISPLAY_TYPE_WIN32;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
/* if there are no winsys enabled at build time, we get a 'unused but set'
|
||||||
|
* warning. Remove that. */
|
||||||
|
(void) window_str;
|
||||||
|
|
||||||
if (type)
|
if (type)
|
||||||
return type;
|
return type;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue