aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-scsi-mmc.c
diff options
context:
space:
mode:
authorStig Bjørlykke <stig@bjorlykke.org>2009-11-09 15:43:25 +0000
committerStig Bjørlykke <stig@bjorlykke.org>2009-11-09 15:43:25 +0000
commitab3e4adf8b550fc73be43d536dbe5dc042d032c6 (patch)
treee8cd89b95694f90d4ed82a615595a2b6898e162c /epan/dissectors/packet-scsi-mmc.c
parent2d9135f98ccce9a3f29e4c1f184982005f5b5828 (diff)
Removed an unused variable.
svn path=/trunk/; revision=30904
Diffstat (limited to 'epan/dissectors/packet-scsi-mmc.c')
-rw-r--r--epan/dissectors/packet-scsi-mmc.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/epan/dissectors/packet-scsi-mmc.c b/epan/dissectors/packet-scsi-mmc.c
index f7d6bf1124..bbf5a26655 100644
--- a/epan/dissectors/packet-scsi-mmc.c
+++ b/epan/dissectors/packet-scsi-mmc.c
@@ -1122,7 +1122,6 @@ dissect_mmc4_readbuffercapacity (tvbuff_t *tvb, packet_info *pinfo _U_, proto_tr
{
guint8 flags;
- gint16 len;
if (tree && isreq && iscdb) {
cdata->itlq->flags=0;
@@ -1141,7 +1140,6 @@ dissect_mmc4_readbuffercapacity (tvbuff_t *tvb, packet_info *pinfo _U_, proto_tr
}
if(tree && (!isreq)) {
- len=tvb_get_ntohs(tvb, offset);
proto_tree_add_item (tree, hf_scsi_mmc_data_length, tvb, offset, 2, 0);
if(cdata->itlq->flags){
proto_tree_add_item (tree, hf_scsi_mmc_rbc_lob_blocks, tvb, offset+4, 4, 0);