summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorEric Anholt <[email protected]>2019-09-19 11:08:25 -0700
committerEric Anholt <[email protected]>2019-09-27 13:34:28 -0700
commitab3cf128a666320512b6140af18946f0c291b598 (patch)
tree08c2e69824a51b0e282544d5d56b75bed41cb3e1 /src
parenta6cc68106c033a31db2b84188e47e1badfcbcc41 (diff)
turnip: Silence compiler warning about uninit pipeline.
The code was fine as far as I see, but the warning was irritating. Reviewed-by: Kristian H. Kristensen <[email protected]>
Diffstat (limited to 'src')
-rw-r--r--src/freedreno/vulkan/tu_pipeline.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/freedreno/vulkan/tu_pipeline.c b/src/freedreno/vulkan/tu_pipeline.c
index b77366d267a..49ce5d27108 100644
--- a/src/freedreno/vulkan/tu_pipeline.c
+++ b/src/freedreno/vulkan/tu_pipeline.c
@@ -1882,7 +1882,7 @@ tu_CreateGraphicsPipelines(VkDevice device,
tu_pipeline_builder_init_graphics(&builder, dev, cache,
&pCreateInfos[i], pAllocator);
- struct tu_pipeline *pipeline;
+ struct tu_pipeline *pipeline = NULL;
VkResult result = tu_pipeline_builder_build(&builder, &pipeline);
tu_pipeline_builder_finish(&builder);