diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2012-01-21 13:17:48 -0600 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2012-06-03 04:25:16 +0200 |
commit | c34a46b466d8b30bc5490c64a5c77f5bf6f0b6c4 (patch) | |
tree | 1b245a0731c22ee39e8da4b1fe4d5795281fc99c /libksieve | |
parent | 6d45b35a4abcf3cab08b6d99e3cde8ad8da820f8 (diff) | |
download | tdepim-c34a46b466d8b30bc5490c64a5c77f5bf6f0b6c4.tar.gz tdepim-c34a46b466d8b30bc5490c64a5c77f5bf6f0b6c4.zip |
Fix a number of build warnings
(cherry picked from commit 292e3c830032a4634f04c3095d6bfa272b65d712)
Diffstat (limited to 'libksieve')
-rw-r--r-- | libksieve/parser/parser.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libksieve/parser/parser.cpp b/libksieve/parser/parser.cpp index e823ac3f..c0459975 100644 --- a/libksieve/parser/parser.cpp +++ b/libksieve/parser/parser.cpp @@ -129,9 +129,9 @@ namespace KSieve { bool Parser::Impl::isArgumentToken() const { return isStringToken() || - token() == Lexer::Number || - token() == Lexer::Tag || - token() == Lexer::Special && mTokenValue == "[" ; + (token() == Lexer::Number) || + (token() == Lexer::Tag) || + ((token() == Lexer::Special) && (mTokenValue == "[")) ; } bool Parser::Impl::obtainToken() { |