diff options
| author | Alan Conway <aconway@apache.org> | 2011-06-23 19:05:38 +0000 |
|---|---|---|
| committer | Alan Conway <aconway@apache.org> | 2011-06-23 19:05:38 +0000 |
| commit | 6bbd94850c1b24e306c2cc42863ce381ebb45005 (patch) | |
| tree | c022b2e1827e9108c4029fbc6a0e8e473de07135 /cpp/src | |
| parent | 1725bfde075ea5223bffe6cf5708ba50b11f0823 (diff) | |
| download | qpid-python-6bbd94850c1b24e306c2cc42863ce381ebb45005.tar.gz | |
NO-JIRA: remove dead code in qpid/cpp/src/qpid/cluster/UpdateClient.cpp
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1139036 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src')
| -rw-r--r-- | cpp/src/qpid/cluster/UpdateClient.cpp | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/cpp/src/qpid/cluster/UpdateClient.cpp b/cpp/src/qpid/cluster/UpdateClient.cpp index 77448789db..afe5b8ac3a 100644 --- a/cpp/src/qpid/cluster/UpdateClient.cpp +++ b/cpp/src/qpid/cluster/UpdateClient.cpp @@ -360,15 +360,6 @@ class MessageUpdater { sb.get()->sendRawFrame(frame); } } - // If the ttl > 0, we need to send the calculated expiration time to the updatee - // Careful not to alter the message as a side effect e.g. by adding - // an empty DeliveryProperties or setting TTL when it wasn't set before. - uint64_t ttl = 0; - if (message.payload->hasProperties<DeliveryProperties>()) { - DeliveryProperties* dprops = - message.payload->getProperties<DeliveryProperties>(); - if (dprops->hasTtl()) ttl = dprops->getTtl(); - }; } void updateMessage(const boost::intrusive_ptr<broker::Message>& message) { |
