aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-juniper.c
diff options
context:
space:
mode:
authorStig Bjørlykke <stig@bjorlykke.org>2008-02-07 15:44:45 +0000
committerStig Bjørlykke <stig@bjorlykke.org>2008-02-07 15:44:45 +0000
commit28ae535b009c9301e885a4e17bfa55861288f2f9 (patch)
treeffc752144b791b42bccb7d56a29504c9ebed0d65 /epan/dissectors/packet-juniper.c
parent36431783b7bb21c867080639724d73c929b612ec (diff)
Removed even more "statement not reached" warnings.
svn path=/trunk/; revision=24286
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 */
}