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:
parent
1c1c99ff23
commit
9ae26670e3
|
@ -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*/
|
||||||
|
|
Loading…
Reference in New Issue