mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-30 08:51:04 +02:00
remove unused and some clang compil fixes
Origin commit data
------------------
Branch: ni/coolstream
Commit: 374a172aef
Author: Jacek Jendrzej <overx300@gmail.com>
Date: 2016-04-17 (Sun, 17 Apr 2016)
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
This commit is contained in:
@@ -290,12 +290,13 @@ void cYTCache::cancelAll(MI_MOVIE_INFO::miSource source)
|
||||
if (pending.empty())
|
||||
return;
|
||||
if (pending.size() > 1)
|
||||
for (std::vector<MI_MOVIE_INFO>::iterator it = pending.begin() + 1; it != pending.end();)
|
||||
for (std::vector<MI_MOVIE_INFO>::iterator it = pending.begin() + 1; it != pending.end();){
|
||||
if ((*it).source == source) {
|
||||
failed.push_back(*it);
|
||||
it = pending.erase(it);
|
||||
} else
|
||||
++it;
|
||||
}
|
||||
if (pending.front().source != source)
|
||||
return;
|
||||
}
|
||||
|
Reference in New Issue
Block a user