[PATCH] urlmon: Remove unnecessary local variable.
Nikolay Sivov
nsivov at codeweavers.com
Wed Mar 17 15:43:28 CDT 2021
Signed-off-by: Nikolay Sivov <nsivov at codeweavers.com>
---
dlls/urlmon/binding.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/dlls/urlmon/binding.c b/dlls/urlmon/binding.c
index d35052dfdf6..a74970033b3 100644
--- a/dlls/urlmon/binding.c
+++ b/dlls/urlmon/binding.c
@@ -1126,8 +1126,7 @@ static void report_data(Binding *This, DWORD bscf, ULONG progress, ULONG progres
HRESULT hres;
if(!(This->state & BINDING_LOCKED)) {
- HRESULT hres = IInternetProtocolEx_LockRequest(
- &This->protocol->IInternetProtocolEx_iface, 0);
+ hres = IInternetProtocolEx_LockRequest(&This->protocol->IInternetProtocolEx_iface, 0);
if(SUCCEEDED(hres))
This->state |= BINDING_LOCKED;
}
--
2.30.2
More information about the wine-devel
mailing list