setupx.dll16: Simplify vcpUICallbackProc16 a bit.
Gerald Pfeifer
gerald at pfeifer.com
Mon Sep 6 14:02:14 CDT 2010
This is the alternative patch to what I submitted yesterday, based
on feedback by Alexandre in
http://www.winehq.org/pipermail/wine-devel/2010-September/086506.html
If not the other, then this should be okay. :-)
Gerald
---
dlls/setupx.dll16/virtcopy.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/dlls/setupx.dll16/virtcopy.c b/dlls/setupx.dll16/virtcopy.c
index d9cdf54..f79c390 100644
--- a/dlls/setupx.dll16/virtcopy.c
+++ b/dlls/setupx.dll16/virtcopy.c
@@ -674,7 +674,7 @@ RETERR16 WINAPI vcpUICallbackProc16(LPVOID lpvObj, UINT16 uMsg, WPARAM wParam,
LPARAM lParam, LPARAM lParamRef)
{
static int count = 0;
- RETERR16 res = VCPN_OK, cbres;
+ RETERR16 res = VCPN_OK;
if (count < 5)
FIXME("(%p, %04x, %04lx, %08lx, %08lx) - semi-stub\n",
@@ -704,7 +704,7 @@ RETERR16 WINAPI vcpUICallbackProc16(LPVOID lpvObj, UINT16 uMsg, WPARAM wParam,
case VCPM_VSTATREAD:
break;
case VCPM_VSTATWRITE:
- cbres = VCP_Callback(&vcp_status, VCPM_DISKPREPINFO, 0, 0, VCP_MsgRef);
+ VCP_Callback(&vcp_status, VCPM_DISKPREPINFO, 0, 0, VCP_MsgRef);
break;
case VCPM_VSTATCLOSEEND:
RegCloseKey(hKeyFiles);
--
1.7.2.2
More information about the wine-patches
mailing list