aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-juniper.c
diff options
context:
space:
mode:
authorstig <stig@f5534014-38df-0310-8fa8-9805f1628bb7>2008-02-07 15:44:45 +0000
committerstig <stig@f5534014-38df-0310-8fa8-9805f1628bb7>2008-02-07 15:44:45 +0000
commit652f92e006ed5e0fefafd5f6e0f58841cd6e718e (patch)
treeffc752144b791b42bccb7d56a29504c9ebed0d65 /epan/dissectors/packet-juniper.c
parent24ad9bce0bc0876a0b560308e84c5e5706a335d2 (diff)
Removed even more "statement not reached" warnings.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@24286 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'epan/dissectors/packet-juniper.c')
-rw-r--r--epan/dissectors/packet-juniper.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/epan/dissectors/packet-juniper.c b/epan/dissectors/packet-juniper.c
index e17f9c6c7c..5067f30406 100644
--- a/epan/dissectors/packet-juniper.c
+++ b/epan/dissectors/packet-juniper.c
@@ -1267,11 +1267,9 @@ ppp_heuristic_guess(guint16 proto) {
case PPP_IPV6 :
case PPP_IPV6CP :
return TRUE;
- break;
default:
return FALSE; /* did not find a ppp header */
- break;
}
}
@@ -1295,7 +1293,6 @@ ip_heuristic_guess(guint8 ip_header_byte) {
case 0x4e:
case 0x4f:
return PROTO_IP;
- break;
case 0x60:
case 0x61:
case 0x62:
@@ -1313,7 +1310,6 @@ ip_heuristic_guess(guint8 ip_header_byte) {
case 0x6e:
case 0x6f:
return PROTO_IP6;
- break;
default:
return PROTO_UNKNOWN; /* did not find a ip header */
}