From: Eckhart Wörner Date: Sun, 28 Sep 2008 18:22:08 +0000 (+0000) Subject: Reduce compiler warnings X-Git-Tag: v4.1.80~8 X-Git-Url: https://git.rmz.fi/?a=commitdiff_plain;h=d8069f32013d9d91437cd1a4f4d43bae6c49bae4;p=libqmvoc.git Reduce compiler warnings svn path=/trunk/KDE/kdeedu/libkdeedu/; revision=865703 --- diff --git a/libscience/elementparser.cpp b/libscience/elementparser.cpp index d10abd2..89a2703 100644 --- a/libscience/elementparser.cpp +++ b/libscience/elementparser.cpp @@ -110,7 +110,7 @@ bool ElementSaxParser::startElement(const QString&, const QString &localName, co { d->currentElement = new Element(); d->inElement = true; - } else if (d->inElement && localName == "scalar" || localName == "array" ) + } else if ( ( d->inElement && localName == "scalar" ) || localName == "array" ) { for (int i = 0; i < attrs.length(); ++i) {