Merge pull request #3141 from rnestler/remove-unused-variable

Remove unused variable in Workspaces::updateWindows
This commit is contained in:
Alexis Rouillard
2024-04-15 22:18:07 +02:00
committed by GitHub

View File

@ -266,7 +266,6 @@ bool Workspaces::hasFlag(const Json::Value &node, const std::string &flag) {
} }
void Workspaces::updateWindows(const Json::Value &node, std::string &windows) { void Workspaces::updateWindows(const Json::Value &node, std::string &windows) {
auto format = config_["window-format"].asString();
if ((node["type"].asString() == "con" || node["type"].asString() == "floating_con") && if ((node["type"].asString() == "con" || node["type"].asString() == "floating_con") &&
node["name"].isString()) { node["name"].isString()) {
std::string title = g_markup_escape_text(node["name"].asString().c_str(), -1); std::string title = g_markup_escape_text(node["name"].asString().c_str(), -1);