regedit: Remove dead assignment (clang)
André Hentschel
nerv at dawncrow.de
Sun Jan 15 08:17:37 CST 2017
Signed-off-by: André Hentschel <nerv at dawncrow.de>
---
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*/
--
2.7.4
More information about the wine-patches
mailing list