client/Windows/wf_cliprdr.c: remove redundant check

found by cppcheck

[client/Windows/wf_cliprdr.c:2556] -> [client/Windows/wf_cliprdr.c:2561]: (warning) Identical condition '!clipboard', second condition is always false
This commit is contained in:
Ilya Shipitsin 2019-01-07 22:55:08 +05:00
parent aa442de059
commit 4403448a77

View File

@ -2558,9 +2558,6 @@ BOOL wf_cliprdr_uninit(wfContext* wfc, CliprdrClientContext* cliprdr)
cliprdr->custom = NULL;
if (!clipboard)
return FALSE;
if (clipboard->hwnd)
PostMessage(clipboard->hwnd, WM_QUIT, 0, 0);