[Coverity] Dead default in switch (DEADCODE)
This commit is contained in:
@@ -2033,7 +2033,9 @@ RoutingProtocol::LinkSensing (const olsr::MessageHeader &msg,
|
||||
case OLSR_ASYM_LINK: linkTypeName = "ASYM_LINK"; break;
|
||||
case OLSR_SYM_LINK: linkTypeName = "SYM_LINK"; break;
|
||||
case OLSR_LOST_LINK: linkTypeName = "LOST_LINK"; break;
|
||||
/* no default, since lt must be in 0..3, covered above
|
||||
default: linkTypeName = "(invalid value!)";
|
||||
*/
|
||||
}
|
||||
|
||||
const char *neighborTypeName;
|
||||
|
||||
Reference in New Issue
Block a user