Commit fbfe9a72 authored by Francois Gouget's avatar Francois Gouget Committed by Alexandre Julliard

shell32: Remove an unneeded local variable initialization.

parent dffe626a
......@@ -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) );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment