diff options
author | Caolán McNamara <caolanm@redhat.com> | 2011-06-03 13:29:23 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2011-06-03 13:41:13 +0100 |
commit | 0ab1c04df01830c5dcc319bcbecdcc4fc6051e60 (patch) | |
tree | 74d1b6a32f19c4282a434d6ef731dd4d84bcfc25 /vcl/unx | |
parent | 9d87f2e2fc6fb20d183e1c8040594ccdcd62703d (diff) |
WaE: various warnings
Diffstat (limited to 'vcl/unx')
-rw-r--r-- | vcl/unx/generic/app/saldata.cxx | 2 | ||||
-rw-r--r-- | vcl/unx/generic/app/sm.cxx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/vcl/unx/generic/app/saldata.cxx b/vcl/unx/generic/app/saldata.cxx index 233582c07f6e..6d502e8563df 100644 --- a/vcl/unx/generic/app/saldata.cxx +++ b/vcl/unx/generic/app/saldata.cxx @@ -801,7 +801,7 @@ void SalXLib::Yield( bool bWait, bool bHandleAllCurrentEvents ) void SalXLib::Wakeup() { - write (m_pTimeoutFDS[1], "", 1); + OSL_VERIFY(write (m_pTimeoutFDS[1], "", 1) == 1); } void SalXLib::PostUserEvent() diff --git a/vcl/unx/generic/app/sm.cxx b/vcl/unx/generic/app/sm.cxx index ac2682df4510..e12c3c91c41b 100644 --- a/vcl/unx/generic/app/sm.cxx +++ b/vcl/unx/generic/app/sm.cxx @@ -657,7 +657,7 @@ void ICEConnectionObserver::deactivate() void ICEConnectionObserver::wakeup() { char cChar = 'w'; - write( nWakeupFiles[1], &cChar, 1 ); + OSL_VERIFY(write( nWakeupFiles[1], &cChar, 1 ) == 1); } void ICEConnectionWorker( void* ) |