mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-28 03:00:35 +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;
|
||||
#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…
Reference in a new issue