From 9ae26670e3746cd741f209718483318201322d99 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Hentschel?= Date: Sun, 15 Jan 2017 15:17:37 +0100 Subject: [PATCH] regedit: Remove dead assignment (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/regedit/framewnd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/programs/regedit/framewnd.c b/programs/regedit/framewnd.c index ed3ea9f42c2..43c581bd255 100644 --- a/programs/regedit/framewnd.c +++ b/programs/regedit/framewnd.c @@ -475,7 +475,7 @@ static BOOL CopyKeyName(HWND hWnd, LPCWSTR keyName) LPVOID pLoc = GlobalLock(hClipData); lstrcpyW(pLoc, keyName); GlobalUnlock(hClipData); - hClipData = SetClipboardData(CF_UNICODETEXT, hClipData); + SetClipboardData(CF_UNICODETEXT, hClipData); } else { /* error emptying clipboard*/