Boost C++ Libraries: Ticket #7271: win32/thread_primitives.hpp: (Unneccessary) Warning https://svn.boost.org/trac10/ticket/7271 <p> When compiling with the Intel C++ compiler 12.1, I receive an (unneccessary) warning about an uninitialised variable 'ret': </p> <p> 1&gt;thread_primitives.hpp(356): warning <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/592" title="#592: Bugs: ambiguous overloads in boost::variant source code (closed: None)">#592</a>: variable "ret" is used before its value is set 1&gt; return ret; 1&gt; <sup> 1&gt; 1&gt;thread_primitives.hpp(377): warning <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/592" title="#592: Bugs: ambiguous overloads in boost::variant source code (closed: None)">#592</a>: variable "ret" is used before its value is set 1&gt; return ret; 1&gt; </sup> </p> <p> Suggested fix: See attached file </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/7271 Trac 1.4.3 viboes Fri, 24 Aug 2012 17:59:54 GMT status changed; resolution set https://svn.boost.org/trac10/ticket/7271#comment:1 https://svn.boost.org/trac10/ticket/7271#comment:1 <ul> <li><strong>status</strong> <span class="trac-field-old">new</span> → <span class="trac-field-new">closed</span> </li> <li><strong>resolution</strong> → <span class="trac-field-new">duplicate</span> </li> </ul> <p> duplicated <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/7272" title="#7272: Patches: win32/thread_primitives.hpp: (Unneccessary) Warning (closed: fixed)">#7272</a> </p> Ticket