Zebediah Figura : shell32: Remove useless and commented out code.
Module: wine Branch: master Commit: 0bc47920d360550b6d27068af5080947ab686ddc URL: https://gitlab.winehq.org/wine/wine/-/commit/0bc47920d360550b6d27068af508094... Author: Zebediah Figura <zfigura(a)codeweavers.com> Date: Sun Mar 3 17:18:03 2024 -0600 shell32: Remove useless and commented out code. --- dlls/shell32/shlview_cmenu.c | 24 ------------------------ 1 file changed, 24 deletions(-) diff --git a/dlls/shell32/shlview_cmenu.c b/dlls/shell32/shlview_cmenu.c index 4df296ec042..eef089f4812 100644 --- a/dlls/shell32/shlview_cmenu.c +++ b/dlls/shell32/shlview_cmenu.c @@ -1341,30 +1341,6 @@ static HRESULT DoPaste(ContextMenu *This) IDataObject_Release(pda); } -#if 0 - HGLOBAL hMem; - - OpenClipboard(NULL); - hMem = GetClipboardData(CF_HDROP); - - if(hMem) - { - char * pDropFiles = GlobalLock(hMem); - if(pDropFiles) - { - int len, offset = sizeof(DROPFILESTRUCT); - - while( pDropFiles[offset] != 0) - { - len = strlen(pDropFiles + offset); - TRACE("%s\n", pDropFiles + offset); - offset += len+1; - } - } - GlobalUnlock(hMem); - } - CloseClipboard(); -#endif return hr; }
participants (1)
-
Alexandre Julliard