summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFrederik Gladhorn <frederik.gladhorn@digia.com>2013-06-12 19:13:55 +0200
committerFrederik Gladhorn <frederik.gladhorn@digia.com>2013-06-12 19:13:55 +0200
commit46ab901c3f1a1f12ed7ad05a17cef19d1672c39e (patch)
treedfbb09e41bc627961da0929b72df3cc70bbc7d2b
parent0c79c2aa212a900568c26d08a036b0e38173ea3a (diff)
parent4bd45d7d2a32a170b4ed11b03752726b446fbb79 (diff)
downloadqtxmlpatterns-46ab901c3f1a1f12ed7ad05a17cef19d1672c39e.tar.gz
qtxmlpatterns-46ab901c3f1a1f12ed7ad05a17cef19d1672c39e.tar.bz2
qtxmlpatterns-46ab901c3f1a1f12ed7ad05a17cef19d1672c39e.zip
Merge remote-tracking branch 'origin/stable' into dev
Change-Id: I6cadf21a571a4d6608c75d4e79f5231c8e4ab5aa
-rw-r--r--src/xmlpatterns/api/qabstractxmlpullprovider_p.h1
-rw-r--r--src/xmlpatterns/projection/qprojectedexpression_p.h16
2 files changed, 7 insertions, 10 deletions
diff --git a/src/xmlpatterns/api/qabstractxmlpullprovider_p.h b/src/xmlpatterns/api/qabstractxmlpullprovider_p.h
index 23f4085..0254a30 100644
--- a/src/xmlpatterns/api/qabstractxmlpullprovider_p.h
+++ b/src/xmlpatterns/api/qabstractxmlpullprovider_p.h
@@ -100,7 +100,6 @@ namespace QPatternist
/* *** The functions below are internal. */
private:
Q_DISABLE_COPY(AbstractXmlPullProvider)
- AbstractXmlPullProviderPrivate *d;
};
}
diff --git a/src/xmlpatterns/projection/qprojectedexpression_p.h b/src/xmlpatterns/projection/qprojectedexpression_p.h
index 2d36df8..d0b0da0 100644
--- a/src/xmlpatterns/projection/qprojectedexpression_p.h
+++ b/src/xmlpatterns/projection/qprojectedexpression_p.h
@@ -104,10 +104,11 @@ namespace QPatternist
{
public:
ProjectedStep(const ProjectedNodeTest::Ptr test,
- const QXmlNodeModelIndex::Axis axis) : m_test(test),
- m_axis(axis)
+ const QXmlNodeModelIndex::Axis axis)
{
- Q_ASSERT(m_test);
+ Q_ASSERT(test);
+ Q_UNUSED(test);
+ Q_UNUSED(axis);
}
virtual Action actionForElement(const QXmlName name,
@@ -120,19 +121,17 @@ namespace QPatternist
}
private:
- const ProjectedNodeTest::Ptr m_test;
- const QXmlNodeModelIndex::Axis m_axis;
};
class ProjectedPath : public ProjectedExpression
{
public:
ProjectedPath(const ProjectedExpression::Ptr left,
- const ProjectedExpression::Ptr right) : m_left(left),
- m_right(right)
+ const ProjectedExpression::Ptr right) : m_left(left)
{
Q_ASSERT(m_left);
- Q_ASSERT(m_right);
+ Q_ASSERT(right);
+ Q_UNUSED(right);
}
virtual Action actionForElement(const QXmlName name,
@@ -152,7 +151,6 @@ namespace QPatternist
private:
const ProjectedExpression::Ptr m_left;
- const ProjectedExpression::Ptr m_right;
};
}