regedit: Remove dead assignment (clang).

Signed-off-by: André Hentschel <nerv@dawncrow.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
André Hentschel 2017-01-15 15:17:37 +01:00 committed by Alexandre Julliard
parent 1c1c99ff23
commit 9ae26670e3

View File

@ -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*/