From 2c686acc4846d9ac220dd47a66d6df7b1eee9c2e Mon Sep 17 00:00:00 2001 From: heckflosse Date: Fri, 31 Mar 2017 20:45:15 +0200 Subject: [PATCH] Fix all warnings in lcp.cc --- rtengine/lcp.cc | 1 - 1 file changed, 1 deletion(-) diff --git a/rtengine/lcp.cc b/rtengine/lcp.cc index 310361a72..2ba401811 100644 --- a/rtengine/lcp.cc +++ b/rtengine/lcp.cc @@ -866,7 +866,6 @@ Glib::ustring LCPStore::getDefaultCommonDirectory() const #ifdef WIN32 WCHAR pathW[MAX_PATH] = {0}; - char pathA[MAX_PATH]; if (SHGetSpecialFolderPathW(NULL, pathW, CSIDL_COMMON_APPDATA, false)) { char pathA[MAX_PATH];