From ca0b79f9d7935e6da194ca77ea8477deb22e1e74 Mon Sep 17 00:00:00 2001 From: Gordon Sim Date: Fri, 22 Aug 2014 11:18:31 +0000 Subject: 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 --- qpid/cpp/src/qpid/broker/SemanticState.cpp | 1 - 1 file changed, 1 deletion(-) (limited to 'qpid/cpp') 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; -- cgit v1.2.1