Fix -Werror=unused-result
Change-Id: I9d6f4b29b6045d5d64c0ee730588299c41d33419 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/111689 Tested-by: Jenkins Reviewed-by: Michael Stahl <michael.stahl@allotropia.de>
This commit is contained in:
committed by
Michael Stahl
parent
e08eb980c9
commit
52dd3d085b
@@ -369,7 +369,11 @@ void SvpSalYieldMutex::doAcquire(sal_uInt32 const nLockCount)
|
||||
m_bNoYieldLock = true;
|
||||
bool const bEvents = pInst->DoYield(false, request == SvpRequest::MainThreadDispatchAllEvents);
|
||||
m_bNoYieldLock = false;
|
||||
write(m_FeedbackFDs[1], &bEvents, sizeof(bool));
|
||||
if (write(m_FeedbackFDs[1], &bEvents, sizeof(bool)) != sizeof(bool))
|
||||
{
|
||||
SAL_WARN("vcl.headless", "Could not write: " << strerror(errno));
|
||||
std::abort();
|
||||
}
|
||||
}
|
||||
}
|
||||
while (true);
|
||||
|
||||
Reference in New Issue
Block a user