Rico Schüller : d3d10: Remove double declared variable in parse_fx10_variable().
Module: wine Branch: master Commit: 6f2ad697181df9cc015e4ebbd78837077175eba5 URL: http://source.winehq.org/git/wine.git/?a=commit;h=6f2ad697181df9cc015e4ebbd7... Author: Rico Schüller <kgbricola(a)web.de> Date: Thu Oct 1 11:56:01 2009 +0200 d3d10: Remove double declared variable in parse_fx10_variable(). --- dlls/d3d10/effect.c | 3 +-- 1 files changed, 1 insertions(+), 2 deletions(-) diff --git a/dlls/d3d10/effect.c b/dlls/d3d10/effect.c index a167a11..b41daeb 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;
participants (1)
-
Alexandre Julliard