Opened 8 years ago
Closed 8 years ago
#10725 closed Bugs (fixed)
UNINIT_CTOR
Reported by: | Owned by: | Joaquín M López Muñoz | |
---|---|---|---|
Milestone: | To Be Determined | Component: | multi_index |
Version: | Boost 1.54.0 | Severity: | Cosmetic |
Keywords: | Cc: |
Description
In default constructor for the structure "link_info " the private members are not initialized hence it shows a code quality error UNINIT_CTOR() as defined below :-
struct link_info
{
Uninitialized pointer field (UNINIT_CTOR)2. uninit_member: Non-static class member "pos" is not initialized in this constructor nor in any functions that it calls.
link_info():side(to_left){}
ordered_index_side side;
member_decl: Class member declaration for "pos".
node_impl_pointer pos;
};
Change History (2)
comment:1 by , 8 years ago
Severity: | Problem → Cosmetic |
---|
comment:2 by , 8 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
Added annotation at
https://github.com/boostorg/multi_index/commit/08fe6a360acf99e1732a54ef8b3114455f59116b
Could you please verify this shuts Coverity down?