summaryrefslogtreecommitdiff
path: root/cpp/src/IceStorm/Subscriber.cpp
diff options
context:
space:
mode:
authorMatthew Newhook <matthew@zeroc.com>2006-11-20 10:01:43 +0000
committerMatthew Newhook <matthew@zeroc.com>2006-11-20 10:01:43 +0000
commitcece9d2367a088af161aa1f227908cf50c7c7110 (patch)
tree38092c27f1b5dd24edf963838ef6af9268656d7b /cpp/src/IceStorm/Subscriber.cpp
parentremoved V2 facet. (diff)
downloadice-cece9d2367a088af161aa1f227908cf50c7c7110.tar.bz2
ice-cece9d2367a088af161aa1f227908cf50c7c7110.tar.xz
ice-cece9d2367a088af161aa1f227908cf50c7c7110.zip
remove bogus if
Diffstat (limited to 'cpp/src/IceStorm/Subscriber.cpp')
-rw-r--r--cpp/src/IceStorm/Subscriber.cpp12
1 files changed, 2 insertions, 10 deletions
diff --git a/cpp/src/IceStorm/Subscriber.cpp b/cpp/src/IceStorm/Subscriber.cpp
index 008c79e2725..aaa7e7a44a3 100644
--- a/cpp/src/IceStorm/Subscriber.cpp
+++ b/cpp/src/IceStorm/Subscriber.cpp
@@ -467,11 +467,7 @@ SubscriberTwowayOrdered::response()
_state = SubscriberStateOnline;
return;
}
- SubscriberPoolPtr pool = _instance->subscriberPool();
- if(pool)
- {
- pool->flush(this);
- }
+ _instance->subscriberPool()->flush(this);
}
namespace
@@ -666,11 +662,7 @@ SubscriberLink::response()
_state = SubscriberStateOnline;
return;
}
- SubscriberPoolPtr pool = _instance->subscriberPool();
- if(pool)
- {
- pool->flush(this);
- }
+ _instance->subscriberPool()->flush(this);
}
void