NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

kern/52682: src/sys/dist/pf/net/pf.c:1711]: (warning) Redundant assignment



>Number:         52682
>Category:       kern
>Synopsis:       src/sys/dist/pf/net/pf.c:1711]: (warning) Redundant assignment
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Oct 31 11:50:00 +0000 2017
>Originator:     David Binderman
>Release:        cvs-20171031
>Organization:
>Environment:
>Description:

src/sys/dist/pf/net/pf.c:1711]: (warning) Redundant assignment of 'm->m_pkthdr.pf.rtableid' to itself.

Source code is

     if (r != NULL && r->rtableid >= 0)
        m->m_pkthdr.pf.rtableid = m->m_pkthdr.pf.rtableid;

>How-To-Repeat:

>Fix:



Home | Main Index | Thread Index | Old Index