summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorAaron Kennedy <aaron.kennedy@nokia.com>2010-07-22 07:05:05 (GMT)
committerAaron Kennedy <aaron.kennedy@nokia.com>2010-07-22 07:05:05 (GMT)
commit75aabee03791804772c4fe934630a27f7c2c9ae5 (patch)
treeddc159f44e9adbe823d3b7382064d76650fff018 /src
parent16cafa618c31db1cb3594767701751c489ce88b9 (diff)
downloadQt-75aabee03791804772c4fe934630a27f7c2c9ae5.zip
Qt-75aabee03791804772c4fe934630a27f7c2c9ae5.tar.gz
Qt-75aabee03791804772c4fe934630a27f7c2c9ae5.tar.bz2
Fix compiler warning
Diffstat (limited to 'src')
-rw-r--r--src/declarative/qml/qdeclarativescriptparser.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/declarative/qml/qdeclarativescriptparser.cpp b/src/declarative/qml/qdeclarativescriptparser.cpp
index 0d8bbb5..4d98ca8 100644
--- a/src/declarative/qml/qdeclarativescriptparser.cpp
+++ b/src/declarative/qml/qdeclarativescriptparser.cpp
@@ -919,8 +919,6 @@ QDeclarativeParser::Object::ScriptBlock::Pragmas QDeclarativeScriptParser::extra
QDeclarativeJS::Lexer l(0);
l.setCode(script, 0);
- int lastLine = -1;
-
int token = l.lex();
while (true) {