From a1fecdaf07b547b4b8de62e90182830e7cbf40c2 Mon Sep 17 00:00:00 2001 From: Gerald Pfeifer Date: Mon, 6 Sep 2010 21:02:14 +0200 Subject: [PATCH] setupx.dll16: Simplify vcpUICallbackProc16 a bit. --- dlls/setupx.dll16/virtcopy.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dlls/setupx.dll16/virtcopy.c b/dlls/setupx.dll16/virtcopy.c index a15f1a1d2b1..ffb54f3dc69 100644 --- a/dlls/setupx.dll16/virtcopy.c +++ b/dlls/setupx.dll16/virtcopy.c @@ -670,7 +670,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", @@ -700,7 +700,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);