projects
/
platform
/
upstream
/
gstreamer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
09883b6
)
vulkandisplay: silence an unused but set error with no enable winsys implementations
author
Matthew Waters
<matthew@centricular.com>
Fri, 23 Aug 2019 07:03:20 +0000
(17:03 +1000)
committer
Matthew Waters
<matthew@centricular.com>
Wed, 28 Aug 2019 10:34:39 +0000
(10:34 +0000)
gst-libs/gst/vulkan/gstvkdisplay.c
patch
|
blob
|
history
diff --git
a/gst-libs/gst/vulkan/gstvkdisplay.c
b/gst-libs/gst/vulkan/gstvkdisplay.c
index
7851e26
..
2048ec8
100644
(file)
--- a/
gst-libs/gst/vulkan/gstvkdisplay.c
+++ b/
gst-libs/gst/vulkan/gstvkdisplay.c
@@
-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;