Module: wine Branch: master Commit: 4ace7b2127b85562b2c1893a6337326a999e612e URL: http://source.winehq.org/git/wine.git/?a=commit;h=4ace7b2127b85562b2c1893a63...
Author: Austin English austinenglish@gmail.com Date: Wed Mar 9 01:07:56 2011 -0800
msxml3: Avoid shadowing a parameter.
---
dlls/msxml3/dispex.c | 8 ++++---- 1 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/dlls/msxml3/dispex.c b/dlls/msxml3/dispex.c index 5addcd7..fbbc35b 100644 --- a/dlls/msxml3/dispex.c +++ b/dlls/msxml3/dispex.c @@ -134,16 +134,16 @@ HRESULT get_typeinfo(enum tid_t tid, ITypeInfo **typeinfo) }
if(!typeinfos[tid]) { - ITypeInfo *typeinfo; + ITypeInfo *ti;
- hres = ITypeLib_GetTypeInfoOfGuid(typelib, tid_ids[tid], &typeinfo); + hres = ITypeLib_GetTypeInfoOfGuid(typelib, tid_ids[tid], &ti); if(FAILED(hres)) { ERR("GetTypeInfoOfGuid failed: %08x\n", hres); return hres; }
- if(InterlockedCompareExchangePointer((void**)(typeinfos+tid), typeinfo, NULL)) - ITypeInfo_Release(typeinfo); + if(InterlockedCompareExchangePointer((void**)(typeinfos+tid), ti, NULL)) + ITypeInfo_Release(ti); }
*typeinfo = typeinfos[tid];