Boost logo

Boost-Commit :

From: anthony_at_[hidden]
Date: 2008-06-04 12:03:51


Author: anthonyw
Date: 2008-06-04 12:03:51 EDT (Wed, 04 Jun 2008)
New Revision: 46123
URL: http://svn.boost.org/trac/boost/changeset/46123

Log:
Added extra initializer to timeout to try and eliminate warnings with some compilers
Text files modified:
   trunk/boost/thread/pthread/timespec.hpp | 2 +-
   1 files changed, 1 insertions(+), 1 deletions(-)

Modified: trunk/boost/thread/pthread/timespec.hpp
==============================================================================
--- trunk/boost/thread/pthread/timespec.hpp (original)
+++ trunk/boost/thread/pthread/timespec.hpp 2008-06-04 12:03:51 EDT (Wed, 04 Jun 2008)
@@ -21,7 +21,7 @@
     {
         inline struct timespec get_timespec(boost::system_time const& abs_time)
         {
- struct timespec timeout={0};
+ struct timespec timeout={0,0};
             boost::posix_time::time_duration const time_since_epoch=abs_time-boost::posix_time::from_time_t(0);
             
             timeout.tv_sec=time_since_epoch.total_seconds();


Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk