From 8455ba0b116208f47ce238b384d4af274fa0edb6 Mon Sep 17 00:00:00 2001 From: Alan Conway Date: Thu, 14 Jan 2010 18:55:46 +0000 Subject: Removed dead code: OutputTask::hasOutput and Queue::checkForMessages. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@899356 13f79535-47bb-0310-9956-ffa450edef68 --- cpp/src/qpid/sys/AggregateOutput.cpp | 5 ----- 1 file changed, 5 deletions(-) (limited to 'cpp/src/qpid/sys/AggregateOutput.cpp') diff --git a/cpp/src/qpid/sys/AggregateOutput.cpp b/cpp/src/qpid/sys/AggregateOutput.cpp index 709d3bc640..4f0a4fa5af 100644 --- a/cpp/src/qpid/sys/AggregateOutput.cpp +++ b/cpp/src/qpid/sys/AggregateOutput.cpp @@ -34,11 +34,6 @@ void AggregateOutput::activateOutput() { control.activateOutput(); } void AggregateOutput::giveReadCredit(int32_t credit) { control.giveReadCredit(credit); } -bool AggregateOutput::hasOutput() { - Mutex::ScopedLock l(lock); - return !tasks.empty(); -} - // Clear the busy flag and notify waiting threads in destructor. struct ScopedBusy { bool& flag; -- cgit v1.2.1