From 2d2e0469b8ac7c64c9dc22f7074db8fc245e2f13 Mon Sep 17 00:00:00 2001 From: attilamolnar Date: Wed, 28 Nov 2012 02:37:49 +0100 Subject: Change empty string assignments to .clear() or remove them entirely Part 2 of ba5c0db795824c3fc1ad48ce332d7bdc440cb77f --- src/mode.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/mode.cpp') diff --git a/src/mode.cpp b/src/mode.cpp index 21c9e7144..0957184b7 100644 --- a/src/mode.cpp +++ b/src/mode.cpp @@ -442,7 +442,7 @@ void ModeParser::Process(const std::vector& parameters, User *user, continue; } - std::string parameter = ""; + std::string parameter; int pcnt = mh->GetNumParams(adding); if (pcnt && param_at == parameters.size()) { -- cgit v1.2.3