shell32: Remove an unneeded local variable initialization.

This commit is contained in:
Francois Gouget 2007-01-26 18:23:57 +01:00 committed by Alexandre Julliard
parent dffe626a9c
commit fbfe9a72de
1 changed files with 2 additions and 2 deletions

View File

@ -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) );