Comment out hf and ett - there is no need to register them while they
authormartinm <martinm@f5534014-38df-0310-8fa8-9805f1628bb7>
Thu, 19 Jan 2012 03:45:11 +0000 (03:45 +0000)
committermartinm <martinm@f5534014-38df-0310-8fa8-9805f1628bb7>
Thu, 19 Jan 2012 03:45:11 +0000 (03:45 +0000)
are empty.

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

epan/dissectors/packet-mac-lte-framed.c

index b9b208d1e1cb2de7fab43ea80aacf88e351f111e..07b2bed5e9bae554e2eb9238fda67be909c79055 100644 (file)
@@ -96,16 +96,20 @@ static void dissect_mac_lte_framed(tvbuff_t *tvb, packet_info *pinfo,
 
 void proto_register_mac_lte_framed(void)
 {
+/*
     static hf_register_info hf[0];
 
     static gint *ett[] =
     {
     };
+*/
 
     /* Register protocol. */
     proto_mac_lte_framed = proto_register_protocol("mac-lte-framed", "MAC-LTE-FRAMED", "mac-lte-framed");
+/*
     proto_register_field_array(proto_mac_lte_framed, hf, array_length(hf));
     proto_register_subtree_array(ett, array_length(ett));
+*/
 
     /* Allow other dissectors to find this one by name. */
     register_dissector("mac-lte-framed", dissect_mac_lte_framed, proto_mac_lte_framed);