[RTEMS Project] #4500: rld-dwarf.cpp: Uninitialized scalar field

RTEMS trac trac at rtems.org
Wed Aug 18 15:14:11 UTC 2021


#4500: rld-dwarf.cpp: Uninitialized scalar field
-----------------------+---------------------
 Reporter:  Ryan Long  |       Owner:  (none)
     Type:  defect     |      Status:  new
 Priority:  normal     |   Milestone:  6.1
Component:  tool       |     Version:  6
 Severity:  normal     |  Resolution:
 Keywords:             |  Blocked By:
 Blocking:             |
-----------------------+---------------------

Comment (by Ryan Long):

 CID 1503021: Uninitialized scalar field
 {{{
  817    function::function (const function& orig)
  818      : debug (orig.debug),
  819        machine_code_ (orig.machine_code_),
  820        external_ (orig.external_),
  821        declaration_ (orig.declaration_),
  822        inline_ (orig.inline_),
  823        entry_pc_ (orig.entry_pc_),
  824        has_entry_pc_ (orig.has_entry_pc_),
  825        pc_low_ (orig.pc_low_),
  826        pc_high_ (orig.pc_high_),
  827        ranges_ (orig.ranges_),
  828        name_ (orig.name_),
  829        linkage_name_ (orig.linkage_name_),
  830        call_file_ (orig.call_file_),
  831        call_line_ (orig.call_line_)
  832    {
     2. uninit_member: Non-static class member prototyped_ is not
 initialized in this constructor nor in any functions that it calls.
     CID 1503021 (#1 of 1): Uninitialized scalar field (UNINIT_CTOR)4.
 uninit_member: Non-static class member decl_line_ is not initialized in
 this constructor nor in any functions that it calls.
  833    }
 }}}

--
Ticket URL: <http://devel.rtems.org/ticket/4500#comment:1>
RTEMS Project <http://www.rtems.org/>
RTEMS Project


More information about the bugs mailing list