[gtk: 42/72] vulkan: Remove double initialization
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk: 42/72] vulkan: Remove double initialization
- Date: Wed, 14 Oct 2020 19:08:12 +0000 (UTC)
commit f456438051f81f5ad9a1b96ad2d48bb47dd1700c
Author: Timm Bäder <mail baedert org>
Date: Sat Oct 10 08:42:53 2020 +0200
vulkan: Remove double initialization
Clang said:
../gsk/vulkan/gskvulkanrenderpass.c:250:5: warning: initializer overrides prior initialization of this
subobject [-Winitializer-overrides]
.render.node = node
^~~~~~~~~~~~~~~~~~~
../gsk/vulkan/gskvulkanrenderpass.c:249:13: note: previous initialization is here
.type = GSK_VULKAN_OP_FALLBACK,
^~~~~~~~~~~~~~~~~~~~~~
gsk/vulkan/gskvulkanrenderpass.c | 1 -
1 file changed, 1 deletion(-)
---
diff --git a/gsk/vulkan/gskvulkanrenderpass.c b/gsk/vulkan/gskvulkanrenderpass.c
index be8dd2795a..d7489c42d5 100644
--- a/gsk/vulkan/gskvulkanrenderpass.c
+++ b/gsk/vulkan/gskvulkanrenderpass.c
@@ -246,7 +246,6 @@ gsk_vulkan_render_pass_add_node (GskVulkanRenderPass *self,
GskRenderNode *node)
{
GskVulkanOp op = {
- .type = GSK_VULKAN_OP_FALLBACK,
.render.node = node
};
GskVulkanPipelineType pipeline_type;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]