Commit e21b7bba authored by Andrew Talbot's avatar Andrew Talbot Committed by Alexandre Julliard

cryptui: Remove unused variable.

parent 1cd505cb
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment