Remove some compiler warnings

Some issues found using clang as the compiler.
This commit is contained in:
Emmanuele Bassi
2011-10-11 23:42:23 +01:00
parent 2ede853ea3
commit 193b345786
5 changed files with 11 additions and 11 deletions

View File

@ -524,8 +524,8 @@ select_thread_start_poll (GPollFD *ufds,
have_new_pollfds = TRUE;
else
{
if (!((nfds == 1 && poll_fd_index < 0 && g_thread_supported ()) ||
(nfds == 2 && poll_fd_index >= 0 && g_thread_supported ())))
if (!((nfds == 1 && poll_fd_index < 0) ||
(nfds == 2 && poll_fd_index >= 0)))
select_thread_set_state (POLLING_RESTART);
}
}