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:
+1
-1
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user