From cbc8f3c81148079a17f4062fb9bad6569107fb34 Mon Sep 17 00:00:00 2001 From: Drew Ronneberg Date: Wed, 17 Dec 2014 21:05:11 -0500 Subject: [PATCH] winemenubuilder: Eliminate an unused variable. --- programs/winemenubuilder/winemenubuilder.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/programs/winemenubuilder/winemenubuilder.c b/programs/winemenubuilder/winemenubuilder.c index fae89f97c57..d902e93b01e 100644 --- a/programs/winemenubuilder/winemenubuilder.c +++ b/programs/winemenubuilder/winemenubuilder.c @@ -1012,7 +1012,6 @@ static HRESULT open_file_type_icon(LPCWSTR szFileName, IStream **ppStream) WCHAR *comma; WCHAR *executable = NULL; int index = 0; - char *output_path = NULL; HRESULT hr = HRESULT_FROM_WIN32(ERROR_NOT_FOUND); extension = strrchrW(szFileName, '.'); @@ -1040,7 +1039,6 @@ static HRESULT open_file_type_icon(LPCWSTR szFileName, IStream **ppStream) end: HeapFree(GetProcessHeap(), 0, icon); HeapFree(GetProcessHeap(), 0, executable); - HeapFree(GetProcessHeap(), 0, output_path); return hr; }