From 328dff8d777818e401f3111554491bb1217cff23 Mon Sep 17 00:00:00 2001 From: Ovahlord Date: Sat, 8 Jul 2023 14:47:25 +0200 Subject: [PATCH] Tools/ConnectionPatcher: remove unreferenced variable for commonAppData is only being used by windows binaries --- src/tools/connection_patcher/Program.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/tools/connection_patcher/Program.cpp b/src/tools/connection_patcher/Program.cpp index 732f5c76cf..42c58631f1 100644 --- a/src/tools/connection_patcher/Program.cpp +++ b/src/tools/connection_patcher/Program.cpp @@ -258,8 +258,6 @@ int main(int argc, char** argv) #ifdef _WIN32 wchar_t* commonAppData(nullptr); SHGetKnownFolderPath(FOLDERID_ProgramData, 0, nullptr, &commonAppData); -#else - const wchar_t* commonAppData(L"."); #endif std::cout << "Creating patched binary..." << std::endl;