From fa54b5d37679ff69d6356a2c23947d927fed1a2e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Hentschel?= Date: Sun, 15 Jan 2017 15:17:27 +0100 Subject: [PATCH] oleview: Remove dead assignments (clang). MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: André Hentschel Signed-off-by: Alexandre Julliard --- programs/oleview/oleview.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/programs/oleview/oleview.c b/programs/oleview/oleview.c index 350f6adeeb4..f1713b81b37 100644 --- a/programs/oleview/oleview.c +++ b/programs/oleview/oleview.c @@ -159,7 +159,7 @@ static void CopyClsid(HTREEITEM item) lstrcpyW(pLoc, ((ITEM_INFO *)tvi.lParam)->clsid); GlobalUnlock(hClipData); - hClipData = SetClipboardData(CF_UNICODETEXT, hClipData); + SetClipboardData(CF_UNICODETEXT, hClipData); CloseClipboard(); } } @@ -184,7 +184,7 @@ static void CopyHTMLTag(HTREEITEM item) ((ITEM_INFO *)tvi.lParam)->clsid[clsidLen] = '}'; GlobalUnlock(hClipData); - hClipData = SetClipboardData(CF_UNICODETEXT, hClipData); + SetClipboardData(CF_UNICODETEXT, hClipData); CloseClipboard(); } }