Commit cbc8f3c8 authored by Drew Ronneberg's avatar Drew Ronneberg Committed by Alexandre Julliard

winemenubuilder: Eliminate an unused variable.

parent ca51e113
...@@ -1012,7 +1012,6 @@ static HRESULT open_file_type_icon(LPCWSTR szFileName, IStream **ppStream) ...@@ -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) ...@@ -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;
} }
......
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