From ce62a9847082bd2837c9802dc23bf3e32b8510b8 Mon Sep 17 00:00:00 2001 From: vaxerski <43317083+vaxerski@users.noreply.github.com> Date: Sun, 21 Aug 2022 18:35:45 +0200 Subject: [PATCH] fix warn --- src/config/ConfigManager.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/config/ConfigManager.cpp b/src/config/ConfigManager.cpp index 6614c780..b20e27c6 100644 --- a/src/config/ConfigManager.cpp +++ b/src/config/ConfigManager.cpp @@ -782,8 +782,6 @@ void CConfigManager::handleSubmap(const std::string& command, const std::string& } void CConfigManager::handleSource(const std::string& command, const std::string& rawpath) { - static const char* const ENVHOME = getenv("HOME"); - if (rawpath.length() < 2) { Debug::log(ERR, "source= path garbage"); parseError = "source path " + rawpath + " bogus!";