[Bug c/81669] New: trunk/gcc/fibonacci_heap.h:58: possible missing initialisation ?
dcb314 at hotmail dot com
gcc-bugzilla@gcc.gnu.org
Wed Aug 2 12:29:00 GMT 2017
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81669
Bug ID: 81669
Summary: trunk/gcc/fibonacci_heap.h:58: possible missing
initialisation ?
Product: gcc
Version: 7.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c
Assignee: unassigned at gcc dot gnu.org
Reporter: dcb314 at hotmail dot com
Target Milestone: ---
trunk/gcc/fibonacci_heap.h:58]: (warning) Member variable
'fibonacci_node::m_data' is not initialized in the constructor.
Source code is
fibonacci_node (): m_parent (NULL), m_child (NULL), m_left (this),
m_right (this), m_degree (0), m_mark (0)
{
}
Probably harmless, but might be safer to make sure m_data is
set to something sensible.
More information about the Gcc-bugs
mailing list