Index: boost/detail/yield_k.hpp Fixes gcc -Wextra warning: In file included from yield_k_test.cpp:12: $BOOST_ROOT/boost/boost/detail/yield_k.hpp: In function 'void boost::detail::yield(unsigned int)': $BOOST_ROOT/boost/detail/yield_k.hpp:114: warning: missing initializer for member 'timespec::tv_nsec' =================================================================== --- boost/detail/yield_k.hpp (revision 44684) +++ boost/detail/yield_k.hpp (working copy) @@ -111,11 +111,8 @@ } else { - struct timespec rqtp = { 0 }; + struct timespec rqtp = { 0, 1000 }; - rqtp.tv_sec = 0; - rqtp.tv_nsec = 1000; - nanosleep( &rqtp, 0 ); } }