aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-scsi.c
diff options
context:
space:
mode:
authorJeff Morriss <jeff.morriss@ulticom.com>2007-04-10 14:48:06 +0000
committerJeff Morriss <jeff.morriss@ulticom.com>2007-04-10 14:48:06 +0000
commit4d21c49929c53bf12d789a830b0662835ee0d4bc (patch)
treefc4a7b022a14246df91ba12256e093df5bc70655 /epan/dissectors/packet-scsi.c
parent7e2cb04ebf746c280f99df33ddc3181509e4bb96 (diff)
Get rid of some more g_assert*()'s in the dissectors. There are a few
remaining that I'm not sure exactly what to do with at the moment: the one in packet-frame probably should be there, the others probably shouldn't but they also should never fail unless there's a compile or build problem (AFAICS). svn path=/trunk/; revision=21367
Diffstat (limited to 'epan/dissectors/packet-scsi.c')
-rw-r--r--epan/dissectors/packet-scsi.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/epan/dissectors/packet-scsi.c b/epan/dissectors/packet-scsi.c
index 78486aa396..34cf836fec 100644
--- a/epan/dissectors/packet-scsi.c
+++ b/epan/dissectors/packet-scsi.c
@@ -4421,10 +4421,10 @@ dissect_scsi_cdb (tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree,
pinfo->current_proto="SCSI";
if(!itlq){
- g_assert_not_reached();
+ DISSECTOR_ASSERT_NOT_REACHED();
}
if(!itl){
- g_assert_not_reached();
+ DISSECTOR_ASSERT_NOT_REACHED();
}
opcode = tvb_get_guint8 (tvb, offset);
@@ -4723,7 +4723,7 @@ get_cmdset_data(itlq_nexus_t *itlq, itl_nexus_t *itl)
/* we must have an itlq structure */
if(!itlq){
- g_assert_not_reached();
+ DISSECTOR_ASSERT_NOT_REACHED();
}
if(itl){