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
1 changed files with 1 additions and 1 deletions

View File

@ -475,7 +475,7 @@ static BOOL CopyKeyName(HWND hWnd, LPCWSTR keyName)
LPVOID pLoc = GlobalLock(hClipData); LPVOID pLoc = GlobalLock(hClipData);
lstrcpyW(pLoc, keyName); lstrcpyW(pLoc, keyName);
GlobalUnlock(hClipData); GlobalUnlock(hClipData);
hClipData = SetClipboardData(CF_UNICODETEXT, hClipData); SetClipboardData(CF_UNICODETEXT, hClipData);
} else { } else {
/* error emptying clipboard*/ /* error emptying clipboard*/