[Coverity] Dead default in switch (DEADCODE)

This commit is contained in:
Peter D. Barnes, Jr.
2013-05-20 15:56:47 -07:00
parent 84126f97be
commit 5920bdc24d

View File

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