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:
parent
acd5358f5b
commit
6c40c2dab2
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue