summaryrefslogtreecommitdiff
path: root/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
commit85c98970c99421d660ee468a321af15262bbb30d (patch)
tree832f3e6bdbd6582bb1b2c0f1f13a0c36ae87ab63 /cpp/src
parent4f5b2245cd3bd8834b203decf7e8669f8fbf6acc (diff)
downloadqpid-python-85c98970c99421d660ee468a321af15262bbb30d.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/qpid@1619746 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src')
-rw-r--r--cpp/src/qpid/broker/SemanticState.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/cpp/src/qpid/broker/SemanticState.cpp b/cpp/src/qpid/broker/SemanticState.cpp
index bd226ccca4..83405229ed 100644
--- a/cpp/src/qpid/broker/SemanticState.cpp
+++ b/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;