From 5694565e097f6e4ab3b97a4c50715633a09ce45e Mon Sep 17 00:00:00 2001 From: brain Date: Tue, 9 Jan 2007 01:14:39 +0000 Subject: Assigning a std::string var initially to "" is pointless. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6271 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/channels.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/channels.cpp b/src/channels.cpp index 1320ebd3d..6a4973b07 100644 --- a/src/channels.cpp +++ b/src/channels.cpp @@ -750,7 +750,7 @@ char* chanrec::ChanModes(bool showkey) static char scratch[MAXBUF]; static char sparam[MAXBUF]; char* offset = scratch; - std::string extparam = ""; + std::string extparam; *scratch = '\0'; *sparam = '\0'; -- cgit v1.2.3