Fixed warning by adding in missing return

This commit is contained in:
Robert Osfield 2008-05-22 11:21:04 +00:00
parent 58f5ebab19
commit e6e4074143

View File

@ -901,12 +901,14 @@ DatabasePager* DatabasePager::create()
int DatabasePager::setSchedulePriority(OpenThreads::Thread::ThreadPriority priority)
{
int result = 0;
for(DatabaseThreadList::iterator dt_itr = _databaseThreads.begin();
dt_itr != _databaseThreads.end();
++dt_itr)
{
(*dt_itr)->setSchedulePriority(priority);
result = (*dt_itr)->setSchedulePriority(priority);
}
return result;
}
bool DatabasePager::isRunning() const