Fix lint warning about code style.

This commit is contained in:
Mathias Tillman
2022-03-09 16:40:39 +01:00
parent 1f79f4ed12
commit 9a2689692a
+2 -1
View File
@@ -718,8 +718,9 @@ inline void rumbleIterate(std::vector<effect_t> &effects, std::vector<pollfd_t>
// Copy over the received events // Copy over the received events
for(auto x = 0; x < polls_tmp.size(); ++x) { for(auto x = 0; x < polls_tmp.size(); ++x) {
auto pfd = polls_tmp[x].fd;
for(auto y = 0; y < polls.size(); ++y) { for(auto y = 0; y < polls.size(); ++y) {
if (polls_tmp[x].fd == polls[y].el.fd) { if (pfd == polls[y].el.fd) {
polls[y].el.revents = polls_tmp[x].revents; polls[y].el.revents = polls_tmp[x].revents;
} }
} }