#3300: src/c/src/lib/libbsp/i386/pc386/console/uart_bus_pci.c:323: bad if
statement ?
------------------------------+--------------------
  Reporter:  David Binderman  |      Owner:  (none)
      Type:  defect           |     Status:  new
  Priority:  normal           |  Milestone:
 Component:  admin            |    Version:
  Severity:  normal           |   Keywords:
Blocked By:                   |   Blocking:
------------------------------+--------------------
 [src/c/src/lib/libbsp/i386/pc386/console/uart_bus_pci.c:324]: (warning)
 Opposite inner 'if' condition leads to a dead code block.

 Source code is

     for ( i=0 ; pci_ns8250_ids[i].vendor != 0xffff ; i++ ) {
       if ( pci_ns8250_ids[i].vendor == 0xffff ) {
         break;
       }

--
Ticket URL: <http://devel.rtems.org/ticket/3300>
RTEMS Project <http://www.rtems.org/>
RTEMS Project
_______________________________________________
bugs mailing list
bugs@rtems.org
http://lists.rtems.org/mailman/listinfo/bugs

Reply via email to