From Martin Kaiser:
authoretxrab <etxrab@f5534014-38df-0310-8fa8-9805f1628bb7>
Fri, 24 Feb 2012 14:40:31 +0000 (14:40 +0000)
committeretxrab <etxrab@f5534014-38df-0310-8fa8-9805f1628bb7>
Fri, 24 Feb 2012 14:40:31 +0000 (14:40 +0000)
Get rid of an unused variable.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@41177 f5534014-38df-0310-8fa8-9805f1628bb7

epan/dissectors/packet-mip.c

index b6f87c594897680ab7f29dbbf562918738f096a7..e42ae6d7711f638b3ed3fa4c63bc99fcff44da66 100644 (file)
@@ -421,7 +421,6 @@ dissect_mip_extensions( tvbuff_t *tvb, int offset, proto_tree *tree)
   gint          hdrLen;
   guint32       cvse_vendor_id;
   guint16       cvse_vendor_type;
-  guint32       nvse_vendor_id;
   guint16       nvse_vendor_type;
   int           cvse_local_offset= 0;
   int           nvse_local_offset= 0;
@@ -648,7 +647,6 @@ dissect_mip_extensions( tvbuff_t *tvb, int offset, proto_tree *tree)
       /*Vendor ID & nvse type & nvse value are included in ext_len, so do not increment offset for them here.*/
       nvse_local_offset = offset + hdrLen;
       proto_tree_add_item(ext_tree, hf_mip_nvse_vendor_org_id, tvb, nvse_local_offset, 4, ENC_BIG_ENDIAN);
-      nvse_vendor_id = tvb_get_ntohl(tvb, nvse_local_offset);
       nvse_local_offset+=4;
 
       /*Vendor NVSE Type*/