summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2014-09-16 20:07:47 +0000
committerrubidium <rubidium@openttd.org>2014-09-16 20:07:47 +0000
commit0d0c4461cea937e82267cb08d069fccc269e8ffa (patch)
tree7247516775a919251e1fdeb3092c3ecc0eb47c92
parent7176f65edf37edfa05f32336b735eabf39b3b810 (diff)
downloadopenttd-0d0c4461cea937e82267cb08d069fccc269e8ffa.tar.xz
(svn r26835) -Fix [Squirrel]: remove dead code from the lexer
-rw-r--r--src/3rdparty/squirrel/squirrel/sqlexer.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/3rdparty/squirrel/squirrel/sqlexer.cpp b/src/3rdparty/squirrel/squirrel/sqlexer.cpp
index 9bd0966e8..cd0cb5ff4 100644
--- a/src/3rdparty/squirrel/squirrel/sqlexer.cpp
+++ b/src/3rdparty/squirrel/squirrel/sqlexer.cpp
@@ -156,11 +156,9 @@ SQInteger SQLexer::Lex()
case '=':
NEXT();
RETURN_TOKEN(TK_DIVEQ);
- continue;
case '>':
NEXT();
RETURN_TOKEN(TK_ATTR_CLOSE);
- continue;
default:
RETURN_TOKEN('/');
}