diff options
author | Oswald Buddenhagen <oswald.buddenhagen@nokia.com> | 2009-05-25 17:54:31 (GMT) |
---|---|---|
committer | Oswald Buddenhagen <oswald.buddenhagen@nokia.com> | 2009-05-25 18:00:48 (GMT) |
commit | 675e9e645fb596ae822fb10093bea25a47a78488 (patch) | |
tree | 7d9f3f5ff0759f41262ed666da13189139a01d5e | |
parent | 81a387e7a7136545db39dc536dee739c67c94e6f (diff) | |
download | Qt-675e9e645fb596ae822fb10093bea25a47a78488.zip Qt-675e9e645fb596ae822fb10093bea25a47a78488.tar.gz Qt-675e9e645fb596ae822fb10093bea25a47a78488.tar.bz2 |
remove now unused static function
sneak in white space change :)
-rw-r--r-- | tools/linguist/lupdate/java.cpp | 13 |
1 files changed, 2 insertions, 11 deletions
diff --git a/tools/linguist/lupdate/java.cpp b/tools/linguist/lupdate/java.cpp index 31024f9..658aebf 100644 --- a/tools/linguist/lupdate/java.cpp +++ b/tools/linguist/lupdate/java.cpp @@ -375,22 +375,13 @@ static bool matchString( QString &s ) return true; } -static bool matchInteger( qlonglong *number) -{ - bool matches = (yyTok == Tok_Integer); - if (matches) { - yyTok = getToken(); - *number = yyInteger; - } - return matches; -} - static bool matchStringOrNull(QString &s) { bool matches = matchString(s); if (!matches) { matches = (yyTok == Tok_null); - if (matches) yyTok = getToken(); + if (matches) + yyTok = getToken(); } return matches; } |