summaryrefslogtreecommitdiff
path: root/epan/dissectors/packet-clnp.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-clnp.c
parent36431783b7bb21c867080639724d73c929b612ec (diff)
downloadwireshark-28ae535b009c9301e885a4e17bfa55861288f2f9.tar.gz
Removed even more "statement not reached" warnings.
svn path=/trunk/; revision=24286
Diffstat (limited to 'epan/dissectors/packet-clnp.c')
-rw-r--r--epan/dissectors/packet-clnp.c12
1 files changed, 0 insertions, 12 deletions
diff --git a/epan/dissectors/packet-clnp.c b/epan/dissectors/packet-clnp.c
index 8575e05713..18cfc2ec50 100644
--- a/epan/dissectors/packet-clnp.c
+++ b/epan/dissectors/packet-clnp.c
@@ -845,8 +845,6 @@ static int ositp_decode_DR(tvbuff_t *tvb, int offset, guint8 li, guint8 tpdu,
case (2): str = "Session entity not attached to TSAP"; break;
case (3): str = "Address unknown"; break;
default: return -1;
- /*NOTREACHED*/
- break;
}
if (check_col(pinfo->cinfo, COL_INFO))
@@ -961,8 +959,6 @@ static int ositp_decode_DT(tvbuff_t *tvb, int offset, guint8 li, guint8 tpdu,
default : /* bad TPDU */
return -1;
- /*NOTREACHED*/
- break;
}
pinfo->clnp_dstref = dst_ref;
@@ -1155,8 +1151,6 @@ static int ositp_decode_ED(tvbuff_t *tvb, int offset, guint8 li, guint8 tpdu,
default : /* bad TPDU */
return -1;
- /*NOTREACHED*/
- break;
} /* li */
dst_ref = tvb_get_ntohs(tvb, offset + P_DST_REF);
@@ -1234,8 +1228,6 @@ static int ositp_decode_RJ(tvbuff_t *tvb, int offset, guint8 li, guint8 tpdu,
break;
default :
return -1;
- /*NOTREACHED*/
- break;
}
dst_ref = tvb_get_ntohs(tvb, offset + P_DST_REF);
@@ -1571,8 +1563,6 @@ static int ositp_decode_EA(tvbuff_t *tvb, int offset, guint8 li, guint8 tpdu,
default : /* bad TPDU */
return -1;
- /*NOTREACHED*/
- break;
} /* li */
dst_ref = tvb_get_ntohs(tvb, offset + P_DST_REF);
@@ -1650,8 +1640,6 @@ static int ositp_decode_ER(tvbuff_t *tvb, int offset, guint8 li, guint8 tpdu,
break;
default:
return -1;
- /*NOTREACHED*/
- break;
}
dst_ref = tvb_get_ntohs(tvb, offset + P_DST_REF);