mshtml: Avoid shadowing a parameter.

This commit is contained in:
Austin English 2011-03-09 01:07:39 -08:00 committed by Alexandre Julliard
parent 3ac2c9eea0
commit a71f3683af
1 changed files with 4 additions and 4 deletions

View File

@ -106,16 +106,16 @@ static HRESULT get_typeinfo(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(%s) failed: %08x\n", debugstr_guid(tid_ids[tid]), 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];