mirror of
https://gitlab.winehq.org/wine/vkd3d.git
synced 2024-11-21 16:46:41 -08:00
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:
parent
dc36245be2
commit
52f844d2dc
@ -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);
|
TRACE("compile_info %p, out %p, messages %p.\n", compile_info, out, messages);
|
||||||
|
|
||||||
|
if (messages)
|
||||||
|
*messages = NULL;
|
||||||
|
|
||||||
return VKD3D_ERROR_NOT_IMPLEMENTED;
|
return VKD3D_ERROR_NOT_IMPLEMENTED;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user