diff options
author | Thierry Bastian <thierry.bastian@nokia.com> | 2009-08-17 11:48:51 (GMT) |
---|---|---|
committer | Thierry Bastian <thierry.bastian@nokia.com> | 2009-08-17 11:49:14 (GMT) |
commit | 3d50220423b96a84f1ca4c0f5ef9246345aad359 (patch) | |
tree | 82d66d5da9ae7820abd04577fe6a93a983a5277b /src/gui/text | |
parent | 025a7395153c3708e2964cfd93957532b19ae04f (diff) | |
download | Qt-3d50220423b96a84f1ca4c0f5ef9246345aad359.zip Qt-3d50220423b96a84f1ca4c0f5ef9246345aad359.tar.gz Qt-3d50220423b96a84f1ca4c0f5ef9246345aad359.tar.bz2 |
Fix coverity warnings
Diffstat (limited to 'src/gui/text')
-rw-r--r-- | src/gui/text/qcssparser.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gui/text/qcssparser.cpp b/src/gui/text/qcssparser.cpp index f11104f..d3dcf50 100644 --- a/src/gui/text/qcssparser.cpp +++ b/src/gui/text/qcssparser.cpp @@ -789,7 +789,7 @@ static BrushData parseBrushValue(const Value &v, const QPalette &pal) } else { parser.next(); Value value; - parser.parseTerm(&value); + (void)parser.parseTerm(&value); if (attr.compare(QLatin1String("spread"), Qt::CaseInsensitive) == 0) { spread = spreads.indexOf(value.variant.toString()); } else { @@ -797,7 +797,7 @@ static BrushData parseBrushValue(const Value &v, const QPalette &pal) } } parser.skipSpace(); - parser.test(COMMA); + (void)parser.test(COMMA); } if (gradType == 0) { @@ -2458,7 +2458,7 @@ bool Parser::parseAttrib(AttributeSelector *attr) bool Parser::parsePseudo(Pseudo *pseudo) { - test(COLON); + (void)test(COLON); pseudo->negated = test(EXCLAMATION_SYM); if (test(IDENT)) { pseudo->name = lexem(); |