Fix gcc warning.

Change-Id: I42dee44f1cee68d83d803174f477b79131a7e109
Reviewed-on: http://codereview.qt.nokia.com/702
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Christian Kandeler <christian.kandeler@nokia.com>
This commit is contained in:
Christian Kandeler
2011-06-24 13:42:19 +02:00
parent fe6d57da62
commit aea538bc5f

View File

@@ -48,6 +48,8 @@ public:
ExprResult(const Type *type = 0, bool isConstant = false) ExprResult(const Type *type = 0, bool isConstant = false)
: type(type), isConstant(isConstant) {} : type(type), isConstant(isConstant) {}
~ExprResult() { }
bool isValid() const { bool isValid() const {
if (! type) if (! type)
return false; return false;