NetBSD-Bugs archive

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

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



The following reply was made to PR kern/52682; it has been noted by GNATS.

From: Robert Elz <kre%munnari.OZ.AU@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: 
Subject: Re: kern/52682: src/sys/dist/pf/net/pf.c:1711]: (warning) Redundant assignment
Date: Tue, 31 Oct 2017 20:31:33 +0700

     Date:        Tue, 31 Oct 2017 11:50:00 +0000 (UTC)
     From:        dcb314%hotmail.com@localhost
     Message-ID:  <20171031115000.6DE107A219%mollari.NetBSD.org@localhost>
 
   | 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;
 
 This one is in code that is not compiled on NetBSD, so it really doesn't
 matter.
 
 It is not clear what it should be on whatever other system uses that section
 of code (OpenBSD ?)
 
 kre
 


Home | Main Index | Thread Index | Old Index