chore: remove dead code and get rid of MSVC warnings (#6024)

This commit is contained in:
nerix
2025-03-03 13:30:11 +01:00
committed by GitHub
parent d7166fae9f
commit cd8247f921
7 changed files with 9 additions and 46 deletions
+2 -2
View File
@@ -924,9 +924,9 @@ void UserInfoPopup::updateUserData()
// get ignoreHighlights state
bool isIgnoringHighlights = false;
const auto &vector = getSettings()->blacklistedUsers.raw();
for (const auto &user : vector)
for (const auto &blockedUser : vector)
{
if (this->userName_ == user.getPattern())
if (this->userName_ == blockedUser.getPattern())
{
isIgnoringHighlights = true;
break;