Fixed warning by adding in missing return
This commit is contained in:
parent
58f5ebab19
commit
e6e4074143
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user