summaryrefslogtreecommitdiff
path: root/cppuhelper/qa
diff options
context:
space:
mode:
authorJulien Nabet <serval2412@yahoo.fr>2011-01-12 12:54:06 +0000
committerCaolán McNamara <caolanm@redhat.com>2011-01-12 12:54:06 +0000
commitc34bae9706fce2bb1a9e9794f75a8233b1312042 (patch)
tree43ec1bd470a4fa9812f2d2761bca977e8488b71b /cppuhelper/qa
parentd7cf1335473606428c9a1a81ac1bb5823bc77172 (diff)
Some cppcheck cleaning
Diffstat (limited to 'cppuhelper/qa')
-rw-r--r--cppuhelper/qa/ifcontainer/cppu_ifcontainer.cxx2
-rw-r--r--cppuhelper/qa/unourl/cppu_unourl.cxx1
2 files changed, 1 insertions, 2 deletions
diff --git a/cppuhelper/qa/ifcontainer/cppu_ifcontainer.cxx b/cppuhelper/qa/ifcontainer/cppu_ifcontainer.cxx
index 8c76af380d3c..039586462ba2 100644
--- a/cppuhelper/qa/ifcontainer/cppu_ifcontainer.cxx
+++ b/cppuhelper/qa/ifcontainer/cppu_ifcontainer.cxx
@@ -129,7 +129,7 @@ namespace cppu_ifcontainer
for (i = 0; i < nTests; i++)
{
Reference<XEventListener> xRef = new ContainerListener(&aStats);
- int nNewLen = pContainer->addInterface(xRef);
+ pContainer->addInterface(xRef);
aListeners.push_back(xRef);
}
Sequence< Reference< XInterface > > aElements;
diff --git a/cppuhelper/qa/unourl/cppu_unourl.cxx b/cppuhelper/qa/unourl/cppu_unourl.cxx
index c7d2de6dbb99..be2626910534 100644
--- a/cppuhelper/qa/unourl/cppu_unourl.cxx
+++ b/cppuhelper/qa/unourl/cppu_unourl.cxx
@@ -126,7 +126,6 @@ namespace cppu_unourl
{ "abc,def=%22", "abc,def=%22" },
{ "abc,def=\"", "abc,def=\"" },
{ "abc,def=%ed%a0%80", "abc,def=%ed%a0%80" } };
- bool bResult = true;
for (int i = 0; i < sizeof aTests / sizeof (Test); ++i)
{
bool bValid = false;