mirror of
https://github.com/LizardByte/Sunshine.git
synced 2025-03-29 22:20:24 +00:00
Fix lint warning about code style.
This commit is contained in:
parent
1f79f4ed12
commit
9a2689692a
@ -717,9 +717,10 @@ inline void rumbleIterate(std::vector<effect_t> &effects, std::vector<pollfd_t>
|
||||
}
|
||||
|
||||
// Copy over the received events
|
||||
for (auto x = 0; x < polls_tmp.size(); ++x) {
|
||||
for (auto y = 0; y < polls.size(); ++y) {
|
||||
if (polls_tmp[x].fd == polls[y].el.fd) {
|
||||
for(auto x = 0; x < polls_tmp.size(); ++x) {
|
||||
auto pfd = polls_tmp[x].fd;
|
||||
for(auto y = 0; y < polls.size(); ++y) {
|
||||
if (pfd == polls[y].el.fd) {
|
||||
polls[y].el.revents = polls_tmp[x].revents;
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user