Kaydet (Commit) 392dc0ba authored tarafından Caolán McNamara's avatar Caolán McNamara

coverity#735342 silence Unchecked return value from library

Change-Id: I95f0d81a741fc684468c720390b43dc9d7b585f9
üst 33492060
...@@ -91,12 +91,12 @@ SvpSalInstance::SvpSalInstance( SalYieldMutex *pMutex ) : ...@@ -91,12 +91,12 @@ SvpSalInstance::SvpSalInstance( SalYieldMutex *pMutex ) :
if ((flags = fcntl (m_pTimeoutFDS[0], F_GETFL)) != -1) if ((flags = fcntl (m_pTimeoutFDS[0], F_GETFL)) != -1)
{ {
flags |= O_NONBLOCK; flags |= O_NONBLOCK;
fcntl (m_pTimeoutFDS[0], F_SETFL, flags); (void)fcntl(m_pTimeoutFDS[0], F_SETFL, flags);
} }
if ((flags = fcntl (m_pTimeoutFDS[1], F_GETFL)) != -1) if ((flags = fcntl (m_pTimeoutFDS[1], F_GETFL)) != -1)
{ {
flags |= O_NONBLOCK; flags |= O_NONBLOCK;
fcntl (m_pTimeoutFDS[1], F_SETFL, flags); (void)fcntl(m_pTimeoutFDS[1], F_SETFL, flags);
} }
} }
m_aEventGuard = osl_createMutex(); m_aEventGuard = osl_createMutex();
......
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