wined3d: Avoid dead assignment (scan-build).

Signed-off-by: Alex Henrie <alexhenrie24@gmail.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Alex Henrie 2019-09-15 23:40:42 -06:00 committed by Alexandre Julliard
parent acd5358f5b
commit 6c40c2dab2
2 changed files with 0 additions and 2 deletions

View File

@ -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))))
{

View File

@ -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)