summaryrefslogtreecommitdiff
path: root/cpp/test
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/test')
-rw-r--r--cpp/test/Ice/interceptor/AMDInterceptorI.cpp11
-rw-r--r--cpp/test/IceStorm/rep1/Subscriber.cpp1
-rw-r--r--cpp/test/IceStorm/single/Subscriber.cpp1
-rw-r--r--cpp/test/IceUtil/priority/PriorityInversion.cpp2
4 files changed, 1 insertions, 14 deletions
diff --git a/cpp/test/Ice/interceptor/AMDInterceptorI.cpp b/cpp/test/Ice/interceptor/AMDInterceptorI.cpp
index 7beaa633c4b..0a96abf38fc 100644
--- a/cpp/test/Ice/interceptor/AMDInterceptorI.cpp
+++ b/cpp/test/Ice/interceptor/AMDInterceptorI.cpp
@@ -28,11 +28,6 @@ AMDInterceptorI::dispatch(Ice::Request& request)
{
public:
- CallbackI(AMDInterceptorI& interceptor) :
- _interceptor(interceptor)
- {
- }
-
virtual bool response(bool ok)
{
test(ok);
@@ -53,17 +48,13 @@ AMDInterceptorI::dispatch(Ice::Request& request)
test(false);
return false;
}
-
- private:
-
- AMDInterceptorI& _interceptor;
};
Ice::Current& current = const_cast<Ice::Current&>(request.getCurrent());
_lastOperation = current.operation;
- Ice::DispatchInterceptorAsyncCallbackPtr cb = new CallbackI(*this);
+ Ice::DispatchInterceptorAsyncCallbackPtr cb = new CallbackI();
if(_lastOperation == "amdAddWithRetry")
{
diff --git a/cpp/test/IceStorm/rep1/Subscriber.cpp b/cpp/test/IceStorm/rep1/Subscriber.cpp
index a45e499488e..1ac18e4c88d 100644
--- a/cpp/test/IceStorm/rep1/Subscriber.cpp
+++ b/cpp/test/IceStorm/rep1/Subscriber.cpp
@@ -69,7 +69,6 @@ private:
const string _name;
const int _max;
int _count;
- bool _ordered;
int _last;
};
typedef IceUtil::Handle<SingleI> SingleIPtr;
diff --git a/cpp/test/IceStorm/single/Subscriber.cpp b/cpp/test/IceStorm/single/Subscriber.cpp
index b87e2f0ab46..453ae2ce090 100644
--- a/cpp/test/IceStorm/single/Subscriber.cpp
+++ b/cpp/test/IceStorm/single/Subscriber.cpp
@@ -98,7 +98,6 @@ private:
CommunicatorPtr _communicator;
const string _name;
int _count;
- bool _ordered;
int _last;
};
typedef IceUtil::Handle<SingleI> SingleIPtr;
diff --git a/cpp/test/IceUtil/priority/PriorityInversion.cpp b/cpp/test/IceUtil/priority/PriorityInversion.cpp
index ca65f177527..b94cb4573f1 100644
--- a/cpp/test/IceUtil/priority/PriorityInversion.cpp
+++ b/cpp/test/IceUtil/priority/PriorityInversion.cpp
@@ -45,7 +45,6 @@ public:
_mediumBegin(0),
_mediumEnd(0),
_highBegin(0),
- _highEnd(0),
_cores(cores),
_high(high),
_medium(medium),
@@ -117,7 +116,6 @@ private:
int _mediumBegin;
int _mediumEnd;
int _highBegin;
- int _highEnd;
int _cores;
int _high;
int _medium;