diff --git a/dlls/dxdiagn/provider.c b/dlls/dxdiagn/provider.c index 4c19d02c7b0..23da0244191 100644 --- a/dlls/dxdiagn/provider.c +++ b/dlls/dxdiagn/provider.c @@ -207,7 +207,7 @@ static HRESULT DXDiag_AddFileDescContainer(IDxDiagContainer* pSubCont, const WCH retval = GetFileVersionInfoSizeW(szFile, &hdl); pVersionInfo = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, retval); - hr = GetFileVersionInfoW(szFile, 0, retval, pVersionInfo); + boolret = GetFileVersionInfoW(szFile, 0, retval, pVersionInfo); boolret = VerQueryValueW(pVersionInfo, szSlashSep, (LPVOID) &pFileInfo, &uiLength); V_VT(&v) = VT_BSTR; V_BSTR(&v) = SysAllocString(szFile);