Opened 10 years ago

Closed 10 years ago

#7271 closed Patches (duplicate)

win32/thread_primitives.hpp: (Unneccessary) Warning

Reported by: christian.buss@… Owned by: Anthony Williams
Milestone: To Be Determined Component: thread
Version: Boost 1.52.0 Severity: Cosmetic
Keywords: Cc:

Description

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

Change History (1)

comment:1 by viboes, 10 years ago

Resolution: duplicate
Status: newclosed

duplicated #7272

Note: See TracTickets for help on using tickets.