summaryrefslogtreecommitdiff
path: root/qpid/cpp/src
diff options
context:
space:
mode:
authorGordon Sim <gsim@apache.org>2014-08-22 11:18:31 +0000
committerGordon Sim <gsim@apache.org>2014-08-22 11:18:31 +0000
commitca0b79f9d7935e6da194ca77ea8477deb22e1e74 (patch)
tree34b42b5b16aa1af706dec71c2d2361d5480292e8 /qpid/cpp/src
parent6f868022134a9e614074742582eb281c86d10bf2 (diff)
downloadqpid-python-ca0b79f9d7935e6da194ca77ea8477deb22e1e74.tar.gz
NO-JIRA: remove redundant and confusing statement; the record is already marked ended and this invocation is on the copy that is not stored anyway
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1619746 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/cpp/src')
-rw-r--r--qpid/cpp/src/qpid/broker/SemanticState.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/qpid/cpp/src/qpid/broker/SemanticState.cpp b/qpid/cpp/src/qpid/broker/SemanticState.cpp
index bd226ccca4..83405229ed 100644
--- a/qpid/cpp/src/qpid/broker/SemanticState.cpp
+++ b/qpid/cpp/src/qpid/broker/SemanticState.cpp
@@ -397,7 +397,6 @@ bool SemanticStateConsumerImpl::deliver(const QueueCursor& cursor, const Message
}
if (acquire && !ackExpected) { // auto acquire && auto accept
queue->dequeue(0 /*ctxt*/, cursor);
- record.setEnded();
}
if (mgmtObject) { mgmtObject->inc_delivered(); }
return true;