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/xline.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/xline.cpp') diff --git a/src/xline.cpp b/src/xline.cpp index 6ec0723ec..12948959b 100644 --- a/src/xline.cpp +++ b/src/xline.cpp @@ -241,7 +241,7 @@ IdentHostPair XLineManager::IdentSplit(const std::string &ident_and_host) } else { - n.first = ""; + n.first.clear(); n.second = ident_and_host; } -- cgit v1.2.3