summaryrefslogtreecommitdiff
path: root/cpp
diff options
context:
space:
mode:
authorAndrew Stitcher <astitcher@apache.org>2013-02-14 15:28:57 +0000
committerAndrew Stitcher <astitcher@apache.org>2013-02-14 15:28:57 +0000
commit5ce19a6d1ece44d281bac4cafa87dca9963ca173 (patch)
treec6debc7999239486036168b5caa1f656781907c3 /cpp
parentfdb3c7ec507e6ebd8b85f322fadab5f57d76c902 (diff)
downloadqpid-python-5ce19a6d1ece44d281bac4cafa87dca9963ca173.tar.gz
NO-JIRA: Removed unnecessary extra message filter check
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1446231 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp')
-rw-r--r--cpp/src/qpid/broker/SemanticState.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp/src/qpid/broker/SemanticState.cpp b/cpp/src/qpid/broker/SemanticState.cpp
index 35f519c789..66d9a95cfc 100644
--- a/cpp/src/qpid/broker/SemanticState.cpp
+++ b/cpp/src/qpid/broker/SemanticState.cpp
@@ -390,7 +390,7 @@ bool SemanticStateConsumerImpl::accept(const Message& msg)
// remain on queue's listener list for possible smaller messages
// in future.
//
- blocked = !(filter(msg) && checkCredit(msg));
+ blocked = !checkCredit(msg);
return !blocked;
}