projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5458b02
)
radv: don't use uninitialized value on failure
author
Grazvydas Ignotas
<notasas@gmail.com>
Sun, 5 Mar 2017 21:04:51 +0000
(23:04 +0200)
committer
Bas Nieuwenhuizen
<bas@basnieuwenhuizen.nl>
Sun, 5 Mar 2017 23:10:42 +0000
(
00:10
+0100)
Mainly to avoid a warning.
Signed-off-by: Grazvydas Ignotas <notasas@gmail.com>
Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
src/amd/vulkan/radv_descriptor_set.c
patch
|
blob
|
history
diff --git
a/src/amd/vulkan/radv_descriptor_set.c
b/src/amd/vulkan/radv_descriptor_set.c
index ca5b28090b9e0ec45fbdfa1cfa75ab3c07449842..7dade3eeed3fea2fe4359a3598583d5350bbe128 100644
(file)
--- a/
src/amd/vulkan/radv_descriptor_set.c
+++ b/
src/amd/vulkan/radv_descriptor_set.c
@@
-368,7
+368,7
@@
radv_temp_descriptor_set_create(struct radv_device *device,
VkDescriptorSet *_set)
{
RADV_FROM_HANDLE(radv_descriptor_set_layout, layout, _layout);
- struct radv_descriptor_set *set;
+ struct radv_descriptor_set *set
= NULL
;
VkResult ret;
ret = radv_descriptor_set_create(device, NULL, cmd_buffer, layout, &set);