aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorvaxerski <[email protected]>2022-08-21 18:35:45 +0200
committervaxerski <[email protected]>2022-08-21 18:35:45 +0200
commitce62a9847082bd2837c9802dc23bf3e32b8510b8 (patch)
tree6cf39a25c9a591d04c70fd199eefbd85f3e4f0c4
parent8faac0c9aca3c3ce0ee80d6da946dadbeb15650d (diff)
downloadHyprland-ce62a9847082bd2837c9802dc23bf3e32b8510b8.tar.gz
Hyprland-ce62a9847082bd2837c9802dc23bf3e32b8510b8.zip
fix warn
-rw-r--r--src/config/ConfigManager.cpp2
1 files changed, 0 insertions, 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!";