shell32: Fix use of uninitialized variable in paste_pidls (Clang).
Signed-off-by: Alex Henrie <alexhenrie24@gmail.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
db11606728
commit
adb4259aa9
|
@ -1158,7 +1158,7 @@ static HRESULT paste_pidls(ContextMenu *This, ITEMIDLIST **pidls, UINT count)
|
||||||
if (psfFrom)
|
if (psfFrom)
|
||||||
{
|
{
|
||||||
/* get source and destination shellfolder */
|
/* get source and destination shellfolder */
|
||||||
ISFHelper *psfhlpdst, *psfhlpsrc;
|
ISFHelper *psfhlpdst = NULL, *psfhlpsrc = NULL;
|
||||||
hr = IShellFolder_QueryInterface(This->parent, &IID_ISFHelper, (void**)&psfhlpdst);
|
hr = IShellFolder_QueryInterface(This->parent, &IID_ISFHelper, (void**)&psfhlpdst);
|
||||||
if (SUCCEEDED(hr))
|
if (SUCCEEDED(hr))
|
||||||
hr = IShellFolder_QueryInterface(psfFrom, &IID_ISFHelper, (void**)&psfhlpsrc);
|
hr = IShellFolder_QueryInterface(psfFrom, &IID_ISFHelper, (void**)&psfhlpsrc);
|
||||||
|
|
Loading…
Reference in New Issue