Andrew Talbot : cryptui: Remove unused variable.
Alexandre Julliard
julliard at winehq.org
Wed Nov 21 14:45:14 CST 2012
Module: wine
Branch: master
Commit: e21b7bbaf1dc4f6bfcc98e5cd85926f5d667d985
URL: http://source.winehq.org/git/wine.git/?a=commit;h=e21b7bbaf1dc4f6bfcc98e5cd85926f5d667d985
Author: Andrew Talbot <andrew.talbot at talbotville.com>
Date: Tue Nov 20 20:58:04 2012 +0000
cryptui: Remove unused variable.
---
dlls/cryptui/main.c | 4 ----
1 files changed, 0 insertions(+), 4 deletions(-)
diff --git a/dlls/cryptui/main.c b/dlls/cryptui/main.c
index 387b6c6..3835573 100644
--- a/dlls/cryptui/main.c
+++ b/dlls/cryptui/main.c
@@ -1804,7 +1804,6 @@ static void add_icon_to_control(HWND hwnd, int id)
DWORD conn;
LPDATAOBJECT dataObject = NULL;
HBITMAP bitmap = NULL;
- RECT rect;
STGMEDIUM stgm;
LPOLECLIENTSITE clientSite = NULL;
REOBJECT reObject;
@@ -1843,9 +1842,6 @@ static void add_icon_to_control(HWND hwnd, int id)
LR_DEFAULTSIZE | LR_LOADTRANSPARENT);
if (!bitmap)
goto end;
- rect.left = rect.top = 0;
- rect.right = GetSystemMetrics(SM_CXICON);
- rect.bottom = GetSystemMetrics(SM_CYICON);
stgm.tymed = TYMED_GDI;
stgm.u.hBitmap = bitmap;
stgm.pUnkForRelease = NULL;
More information about the wine-cvs
mailing list