From 98e4ddfb21d285c8b675788c155bb204822fbd4a Mon Sep 17 00:00:00 2001 From: Sadie Powell Date: Thu, 6 Feb 2020 11:25:42 +0000 Subject: Use C++11 inline initialisation for class members. --- src/modules/m_spanningtree/netburst.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/modules/m_spanningtree/netburst.cpp') diff --git a/src/modules/m_spanningtree/netburst.cpp b/src/modules/m_spanningtree/netburst.cpp index 7d7755a6b..8bde08a39 100644 --- a/src/modules/m_spanningtree/netburst.cpp +++ b/src/modules/m_spanningtree/netburst.cpp @@ -39,12 +39,12 @@ class FModeBuilder : public CmdBuilder { static const size_t maxline = 480; std::string params; - unsigned int modes; + unsigned int modes = 0; std::string::size_type startpos; public: FModeBuilder(Channel* chan) - : CmdBuilder("FMODE"), modes(0) + : CmdBuilder("FMODE") { push(chan->name).push_int(chan->age).push_raw(" +"); startpos = str().size(); -- cgit v1.3.1-10-gc9f91