#3300 new defect

src/c/src/lib/libbsp/i386/pc386/console/uart_bus_pci.c:323: bad if statement ?

Reported by: David Binderman Owned by:
Priority: normal Milestone:
Component: admin Version:
Severity: normal Keywords:
Cc: Blocked By:
Blocking:

Description

[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;

}

Change History (0)

Note: See TracTickets for help on using tickets.