Subject: [Boost-bugs] [Boost C++ Libraries] #7271: win32/thread_primitives.hpp: (Unneccessary) Warning
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2012-08-24 09:43:52
#7271: win32/thread_primitives.hpp: (Unneccessary) Warning
----------------------------------------+-----------------------------------
Reporter: christian.buss@⦠| Owner: anthonyw
Type: Patches | Status: new
Milestone: To Be Determined | Component: thread
Version: Boost 1.52.0 | Severity: Cosmetic
Keywords: |
----------------------------------------+-----------------------------------
When compiling with the Intel C++ compiler 12.1, I receive an
(unneccessary) warning about an uninitialised variable 'ret':
1>thread_primitives.hpp(356): warning #592: variable "ret" is used before
its value is set
1> return ret;
1> ^
1>
1>thread_primitives.hpp(377): warning #592: variable "ret" is used before
its value is set
1> return ret;
1> ^
Suggested fix: See attached file
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/7271> Boost C++ Libraries <http://www.boost.org/> Boost provides free peer-reviewed portable C++ source libraries.
This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:10 UTC