1
0
mirror of https://github.com/anope/anope.git synced 2026-06-26 21:16:39 +02:00

Zero-initialize a variable in BuildModeChange.

This commit is contained in:
Sadie Powell
2025-05-04 02:56:59 +01:00
parent 88c71fba64
commit 8955c53088
+1 -1
View File
@@ -120,7 +120,7 @@ static auto BuildModeChange(const ModeManager::Change &change)
Anope::string modebuf;
size_t modecount = 0;
std::vector<Anope::string> parambuf;
size_t paramlen;
size_t paramlen = 0;
auto adding = true;
for (const auto &[mode, info] : change)