BIND 10 #2789: Pool6::prefix_len_ is unused

BIND 10 Development do-not-reply at isc.org
Wed Feb 20 23:21:59 UTC 2013


#2789: Pool6::prefix_len_ is unused
---------------------------------------+----------------------------------
                   Reporter:  jinmei   |                 Owner:
                       Type:  defect   |                Status:  new
                   Priority:  medium   |             Milestone:  New Tasks
                  Component:  libdhcp  |              Keywords:
               CVSS Scoring:           |             Sensitive:  0
            Defect Severity:  N/A      |           Sub-Project:  DHCP
Feature Depending on Ticket:           |  Estimated Difficulty:  0
        Add Hours to Ticket:  0        |           Total Hours:  0
                  Internal?:  0        |
---------------------------------------+----------------------------------
 It's defined in src/lib/dhcpsrv/pool.h.

 A recent (maybe Apple-hacked) version of clang++ warns about it and
 then promotes it to an error with -Werror.  I'm not sure about the
 intended use for it so for now I plan to introduce a workaround of
 using it in the validity check for #2705.  If it's not really needed
 it should be removed; if it should be used in some way, it should be
 actually used, obviously.  And, in that case, it should be defined as
 const unless it can be modified in the lifetime of the class.

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


More information about the bind10-tickets mailing list