winemenubuilder: Eliminate an unused variable.

This commit is contained in:
Drew Ronneberg 2014-12-17 21:05:11 -05:00 committed by Alexandre Julliard
parent ca51e113e4
commit cbc8f3c811
1 changed files with 0 additions and 2 deletions

View File

@ -1012,7 +1012,6 @@ static HRESULT open_file_type_icon(LPCWSTR szFileName, IStream **ppStream)
WCHAR *comma; WCHAR *comma;
WCHAR *executable = NULL; WCHAR *executable = NULL;
int index = 0; int index = 0;
char *output_path = NULL;
HRESULT hr = HRESULT_FROM_WIN32(ERROR_NOT_FOUND); HRESULT hr = HRESULT_FROM_WIN32(ERROR_NOT_FOUND);
extension = strrchrW(szFileName, '.'); extension = strrchrW(szFileName, '.');
@ -1040,7 +1039,6 @@ static HRESULT open_file_type_icon(LPCWSTR szFileName, IStream **ppStream)
end: end:
HeapFree(GetProcessHeap(), 0, icon); HeapFree(GetProcessHeap(), 0, icon);
HeapFree(GetProcessHeap(), 0, executable); HeapFree(GetProcessHeap(), 0, executable);
HeapFree(GetProcessHeap(), 0, output_path);
return hr; return hr;
} }