This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/81669] New: trunk/gcc/fibonacci_heap.h:58: possible missing initialisation ?
- From: "dcb314 at hotmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 02 Aug 2017 12:29:02 +0000
- Subject: [Bug c/81669] New: trunk/gcc/fibonacci_heap.h:58: possible missing initialisation ?
- Auto-submitted: auto-generated
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.