=?UTF-8?Q?Andr=C3=A9=20Hentschel=20?=: regedit: Remove dead assignment ( clang).
Alexandre Julliard
julliard at winehq.org
Mon Jan 16 15:48:49 CST 2017
Module: wine
Branch: master
Commit: 9ae26670e3746cd741f209718483318201322d99
URL: http://source.winehq.org/git/wine.git/?a=commit;h=9ae26670e3746cd741f209718483318201322d99
Author: André Hentschel <nerv at dawncrow.de>
Date: Sun Jan 15 15:17:37 2017 +0100
regedit: Remove dead assignment (clang).
Signed-off-by: André Hentschel <nerv at dawncrow.de>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
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 ed3ea9f..43c581b 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*/
More information about the wine-cvs
mailing list