[PATCH] shdocvw: Don't set res variable since it's not ckecked after the call.
Christian Costa
titan.costa at gmail.com
Thu Apr 25 18:03:47 CDT 2013
ParseURLFromOutsideSourceW cannot fail anyway in that case since we provide the max buffer length.
Fixes bug 33336.
---
dlls/shdocvw/shdocvw_main.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dlls/shdocvw/shdocvw_main.c b/dlls/shdocvw/shdocvw_main.c
index be1588c..fa89051 100644
--- a/dlls/shdocvw/shdocvw_main.c
+++ b/dlls/shdocvw/shdocvw_main.c
@@ -442,7 +442,7 @@ DWORD WINAPI ParseURLFromOutsideSourceA(LPCSTR url, LPSTR out, LPDWORD plen, LPD
}
len = sizeof(buffer) / sizeof(buffer[0]);
- res = ParseURLFromOutsideSourceW(urlW, buffer, &len, unknown);
+ ParseURLFromOutsideSourceW(urlW, buffer, &len, unknown);
HeapFree(GetProcessHeap(), 0, urlW);
needed = WideCharToMultiByte(CP_ACP, 0, buffer, -1, NULL, 0, NULL, NULL);
More information about the wine-patches
mailing list