Rico Schüller : d3d10: Remove double declared variable in parse_fx10_variable().
Alexandre Julliard
julliard at winehq.org
Thu Oct 1 09:48:20 CDT 2009
Module: wine
Branch: master
Commit: 6f2ad697181df9cc015e4ebbd78837077175eba5
URL: http://source.winehq.org/git/wine.git/?a=commit;h=6f2ad697181df9cc015e4ebbd78837077175eba5
Author: Rico Schüller <kgbricola at 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;
More information about the wine-cvs
mailing list