vkd3d-shader: Initialize "messages" to NULL in vkd3d_shader_preprocess() (Valgrind).

Signed-off-by: Zebediah Figura <zfigura@codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Zebediah Figura 2020-11-21 17:23:44 -06:00 committed by Alexandre Julliard
parent dc36245be2
commit 52f844d2dc

View File

@ -1152,5 +1152,8 @@ int vkd3d_shader_preprocess(const struct vkd3d_shader_compile_info *compile_info
{
TRACE("compile_info %p, out %p, messages %p.\n", compile_info, out, messages);
if (messages)
*messages = NULL;
return VKD3D_ERROR_NOT_IMPLEMENTED;
}