summaryrefslogtreecommitdiff
path: root/src/messageout.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/messageout.cpp')
-rw-r--r--src/messageout.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/messageout.cpp b/src/messageout.cpp
index 95e55a86..63c69db4 100644
--- a/src/messageout.cpp
+++ b/src/messageout.cpp
@@ -83,8 +83,6 @@ MessageOut::writeString(const std::string &string, int length)
{
// Write the length at the start if not fixed
writeShort(string.length());
- std::string toWrite = string;
-
expand(mPos + string.length());
}
else if (length < (int)string.length())