Commit 6c40c2da authored by Alex Henrie's avatar Alex Henrie Committed by Alexandre Julliard

wined3d: Avoid dead assignment (scan-build).

parent acd5358f
......@@ -10021,7 +10021,6 @@ static HRESULT shader_glsl_compile_compute_shader(struct shader_glsl_priv *priv,
return E_OUTOFMEMORY;
}
shader_data = shader->backend_data;
gl_shaders = shader_data->gl_shaders.cs;
if (!(shader_data->gl_shaders.cs = heap_alloc(sizeof(*gl_shaders))))
{
......
......@@ -1285,7 +1285,6 @@ static void ffp_blitter_clear(struct wined3d_blitter *blitter, struct wined3d_de
if (previous && (previous->width != view->width || previous->height != view->height))
have_identical_size = FALSE;
previous = view;
}
if (have_identical_size)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment