Kaydet (Commit) 3130f06b authored tarafından Caolán McNamara's avatar Caolán McNamara

coverity#735350 silence Unchecked return value from library

Change-Id: I8b84466f8bb277c30df4340849b17506eddd4f21
üst 119f0da5
......@@ -699,23 +699,23 @@ void ICEWatchProc(
if ((flags = fcntl(pThis->m_nWakeupFiles[0], F_GETFD)) != -1)
{
flags |= FD_CLOEXEC;
fcntl(pThis->m_nWakeupFiles[0], F_SETFD, flags);
(void)fcntl(pThis->m_nWakeupFiles[0], F_SETFD, flags);
}
if ((flags = fcntl(pThis->m_nWakeupFiles[0], F_GETFL)) != -1)
{
flags |= O_NONBLOCK;
fcntl(pThis->m_nWakeupFiles[0], F_SETFL, flags);
(void)fcntl(pThis->m_nWakeupFiles[0], F_SETFL, flags);
}
// set close-on-exec and nonblock descriptor flag.
if ((flags = fcntl(pThis->m_nWakeupFiles[1], F_GETFD)) != -1)
{
flags |= FD_CLOEXEC;
fcntl(pThis->m_nWakeupFiles[1], F_SETFD, flags);
(void)fcntl(pThis->m_nWakeupFiles[1], F_SETFD, flags);
}
if ((flags = fcntl(pThis->m_nWakeupFiles[1], F_GETFL)) != -1)
{
flags |= O_NONBLOCK;
fcntl(pThis->m_nWakeupFiles[1], F_SETFL, flags);
(void)fcntl(pThis->m_nWakeupFiles[1], F_SETFL, flags);
}
pThis->m_ICEThread = osl_createThread(
ICEConnectionWorker, pThis);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment