mirror of
https://github.com/reactos/wine.git
synced 2024-11-25 04:39:45 +00:00
shell32: Remove an unneeded local variable initialization.
This commit is contained in:
parent
dffe626a9c
commit
fbfe9a72de
@ -2483,12 +2483,12 @@ ShellLink_QueryContextMenu( IContextMenu* iface, HMENU hmenu, UINT indexMenu,
|
||||
static LPWSTR
|
||||
shelllink_get_msi_component_path( LPWSTR component )
|
||||
{
|
||||
LPWSTR path = NULL;
|
||||
LPWSTR path;
|
||||
DWORD r, sz = 0;
|
||||
|
||||
r = CommandLineFromMsiDescriptor( component, NULL, &sz );
|
||||
if (r != ERROR_SUCCESS)
|
||||
return path;
|
||||
return NULL;
|
||||
|
||||
sz++;
|
||||
path = HeapAlloc( GetProcessHeap(), 0, sz*sizeof(WCHAR) );
|
||||
|
Loading…
Reference in New Issue
Block a user