summaryrefslogtreecommitdiffstats
path: root/libksieve
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-01-21 13:17:48 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-01-21 13:17:48 -0600
commit292e3c830032a4634f04c3095d6bfa272b65d712 (patch)
tree37d103a34c4aebbbc76243461eb29b73152a916c /libksieve
parentdc69027b0e7092ad69d8e58f1ee3aff22fd4d9c6 (diff)
downloadtdepim-292e3c830032a4634f04c3095d6bfa272b65d712.tar.gz
tdepim-292e3c830032a4634f04c3095d6bfa272b65d712.zip
Fix a number of build warnings
Diffstat (limited to 'libksieve')
-rw-r--r--libksieve/parser/parser.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/libksieve/parser/parser.cpp b/libksieve/parser/parser.cpp
index e823ac3f0..c04599754 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() {