[RTEMS Project] #2882: cpukit/libnetworking/netinet/ip_mroute.c:2152: faulty logic ?

RTEMS trac trac at rtems.org
Mon Jan 23 18:58:47 UTC 2017


#2882: cpukit/libnetworking/netinet/ip_mroute.c:2152: faulty logic ?
---------------------+------------------
 Reporter:  dcb      |      Owner:
     Type:  defect   |     Status:  new
 Priority:  normal   |  Milestone:  4.12
Component:  General  |    Version:  4.11
 Severity:  normal   |   Keywords:
---------------------+------------------
 cpukit/libnetworking/netinet/ip_mroute.c:2152]: (style) Expression is
 always false because 'else if' condition matches previous condition at
 line 2149.

 Source code is

     if (rsvpdebug)
         printf("rsvp_input: Failed to append to socket\n");
     else
     if (rsvpdebug)
         printf("rsvp_input: send packet up\n");

--
Ticket URL: <http://devel.rtems.org/ticket/2882>
RTEMS Project <http://www.rtems.org/>
RTEMS Project


More information about the bugs mailing list