diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2007-01-09 01:14:39 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2007-01-09 01:14:39 +0000 |
commit | 5694565e097f6e4ab3b97a4c50715633a09ce45e (patch) | |
tree | 7b3ff40e77dbe30806c33c71b6ea6338e7bc6a55 | |
parent | 9f25dfcc5429a57aa191abfba00138c69acd59df (diff) |
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
-rw-r--r-- | src/channels.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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'; |