summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/linguist/lupdate/cpp.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/linguist/lupdate/cpp.cpp b/src/linguist/lupdate/cpp.cpp
index 66659a28f..aa32cda43 100644
--- a/src/linguist/lupdate/cpp.cpp
+++ b/src/linguist/lupdate/cpp.cpp
@@ -471,7 +471,6 @@ bool CppParser::getMacroArgs()
{
// Failing this assertion would mean losing the preallocated buffer.
Q_ASSERT(yyWord.isDetached());
- yyWord.resize(0);
while (isspace(yyCh))
yyCh = getChar();
@@ -514,7 +513,6 @@ CppParser::TokenType CppParser::getToken()
restart:
// Failing this assertion would mean losing the preallocated buffer.
Q_ASSERT(yyWord.isDetached());
- yyWord.resize(0);
while (yyCh != EOF) {
yyLineNo = yyCurLineNo;