summaryrefslogtreecommitdiffstats
path: root/src/3rdparty
diff options
context:
space:
mode:
authorJedrzej Nowacki <jedrzej.nowacki@nokia.com>2009-08-20 16:53:51 (GMT)
committerJedrzej Nowacki <jedrzej.nowacki@nokia.com>2009-08-20 16:53:51 (GMT)
commit82fc329f2176079d86070782fd89f80e894a8ec4 (patch)
treed8ad022caa347bafc93d9e6d76b76525b7f779ab /src/3rdparty
parent4dcd9e5b61ad8ffcaab44cd8a274fdfa8c28f2ac (diff)
downloadQt-82fc329f2176079d86070782fd89f80e894a8ec4.zip
Qt-82fc329f2176079d86070782fd89f80e894a8ec4.tar.gz
Qt-82fc329f2176079d86070782fd89f80e894a8ec4.tar.bz2
Remove useless variable from Lexer.
Diffstat (limited to 'src/3rdparty')
-rw-r--r--src/3rdparty/webkit/JavaScriptCore/parser/Lexer.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/3rdparty/webkit/JavaScriptCore/parser/Lexer.cpp b/src/3rdparty/webkit/JavaScriptCore/parser/Lexer.cpp
index a0a6a74..c36763c 100644
--- a/src/3rdparty/webkit/JavaScriptCore/parser/Lexer.cpp
+++ b/src/3rdparty/webkit/JavaScriptCore/parser/Lexer.cpp
@@ -899,9 +899,8 @@ doneString:
// Fall through into returnToken.
returnToken: {
- int lineNumber = m_lineNumber;
- llocp->first_line = lineNumber;
- llocp->last_line = lineNumber;
+ llocp->first_line = m_lineNumber;
+ llocp->last_line = m_lineNumber;
llocp->first_column = startOffset - m_startColumnNumberCorrection;
llocp->last_column = currentOffset() - m_startColumnNumberCorrection;