id,summary,reporter,owner,description,type,status,milestone,component,version,severity,resolution,keywords,cc 4574,"boost/asio/detail/impl/win_mutex.ipp:57: return value of InitializeCriticalSectionAndSpinCount ignored, causing warning C6031",anonymous,chris_kohlhoff,"As of r64932 file boost/asio/detail/impl/win_mutex.ipp at function win_mutex::do_init, there is a call to InitializeCriticalSectionAndSpinCount for which the return value is not checked. This causes warning C6031 from the Microsoft code analysis tool PREfast included with Visual Studio 2008, because someone at Microsoft marked that this function should always be checked. Since Boost already returns a Windows error code from this function if an exception is caught, I suggest returning the value of GetLastError() if InitializeCriticalSectionAndSpinCount fails.",Bugs,closed,To Be Determined,asio,Boost 1.44.0,Problem,fixed,,