diff --git a/dlls/d3d10/effect.c b/dlls/d3d10/effect.c index a167a116a02..b41daebe06d 100644 --- a/dlls/d3d10/effect.c +++ b/dlls/d3d10/effect.c @@ -790,10 +790,9 @@ static HRESULT parse_fx10_variable(struct d3d10_effect_variable *v, const char * return E_OUTOFMEMORY; } - for(i = 0; i < v->annotation_count; ++i) + for (i = 0; i < v->annotation_count; ++i) { struct d3d10_effect_variable *a = &v->annotations[i]; - HRESULT hr; a->effect = v->effect;