BIND 10 #2650: Errors from cppcheck 1.58

BIND 10 Development do-not-reply at isc.org
Mon Jan 21 15:48:03 UTC 2013


#2650: Errors from cppcheck 1.58
-------------------------------------+-------------------------------------
                   Reporter:         |                 Owner:
  vorner                             |                Status:  new
                       Type:         |             Milestone:  New Tasks
  defect                             |              Keywords:
                   Priority:         |             Sensitive:  0
  medium                             |           Sub-Project:  DNS
                  Component:         |  Estimated Difficulty:  0
  Unclassified                       |           Total Hours:  0
               CVSS Scoring:         |
            Defect Severity:  N/A    |
Feature Depending on Ticket:         |
        Add Hours to Ticket:  0      |
                  Internal?:  0      |
-------------------------------------+-------------------------------------
 Once again, I upgraded my cppcheck, this time to version 1.58. And, as
 always, there are new suggestions:
 {{{
 src/lib/asiodns/udp_server.cc:62: check_fail: Member variable
 'Data::bytes_' is not initialized in the constructor.
 (warning,uninitMemberVar)
 src/lib/asiodns/udp_server.cc:78: check_fail: Member variable
 'Data::bytes_' is not initialized in the constructor.
 (warning,uninitMemberVar)
 src/lib/asiodns/udp_server.cc:106: check_fail: Member variable
 'Data::bytes_' is not initialized in the constructor.
 (warning,uninitMemberVar)
 src/lib/datasrc/memory/zone_finder.cc:552: check_fail: The class
 'InMemoryZoneFinder' does not have a constructor. (style,noConstructor)
 src/lib/datasrc/memory_datasrc.cc:784: check_fail: The class
 'InMemoryZoneFinder' does not have a constructor. (style,noConstructor)
 src/lib/datasrc/sqlite3_accessor.cc:684: check_fail: The class
 'SQLite3Accessor' does not have a constructor. (style,noConstructor)
 src/lib/datasrc/sqlite3_accessor.cc:889: check_fail: The class
 'SQLite3Accessor' does not have a constructor. (style,noConstructor)
 src/lib/dns/master_loader.cc:57: check_fail: The class 'MasterLoader' does
 not have a constructor. (style,noConstructor)
 src/lib/util/io/socketsession.cc:85: check_fail: Member variable
 'ForwarderImpl::fd_' is not initialized in the constructor.
 (warning,uninitMemberVar)
 }}}

-- 
Ticket URL: <http://bind10.isc.org/ticket/2650>
BIND 10 Development <http://bind10.isc.org>
BIND 10 Development


More information about the bind10-tickets mailing list