Bin duplicate const variable

This commit is contained in:
Tor Lillqvist 2018-10-10 10:25:54 +03:00
parent ff5f7a5260
commit be945ed51b

View file

@ -200,7 +200,6 @@ static bool checkForPoll(std::vector<FakeSocketPair>& fds, struct pollfd *pollfd
}
else
{
const int K = ((pollfds[i].fd)&1);
if (fds[pollfds[i].fd/2].fd[K] == -1)
{
pollfds[i].revents = POLLNVAL;