Skip to content

Commit

Permalink
Merge pull request #3141 from rnestler/remove-unused-variable
Browse files Browse the repository at this point in the history
Remove unused variable in Workspaces::updateWindows
  • Loading branch information
Alexays authored Apr 15, 2024
2 parents ddacb11 + 133dfc2 commit fbcd7eb
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/modules/sway/workspaces.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
auto format = config_["window-format"].asString();
if ((node["type"].asString() == "con" || node["type"].asString() == "floating_con") &&
node["name"].isString()) {
std::string title = g_markup_escape_text(node["name"].asString().c_str(), -1);
Expand Down

0 comments on commit fbcd7eb

Please sign in to comment.