Get rid of zero-length arrays.
authorguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>
Fri, 20 Jul 2001 09:51:19 +0000 (09:51 +0000)
committerguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>
Fri, 20 Jul 2001 09:51:19 +0000 (09:51 +0000)
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@3753 f5534014-38df-0310-8fa8-9805f1628bb7

plugins/giop/packet-cosnaming.c

index 89e635508baded0e56735f416db317a1178b48fc..54b846d96ad47b43efef4a722a1a934220cb9def 100644 (file)
@@ -1806,11 +1806,13 @@ void proto_register_giop_cosnaming(void) {
 
    /* setup list of header fields */
 
+#if 0
    static hf_register_info hf[] = {
 
       /* no fields yet */
       
    };
+#endif
 
    /* setup protocol subtree array */
 
@@ -1822,7 +1824,9 @@ void proto_register_giop_cosnaming(void) {
    
    proto_cosnaming = proto_register_protocol("Cosnaming Dissector Using GIOP API" , "COSNAMING", "giop-cosnaming" );
 
+#if 0
    proto_register_field_array(proto_cosnaming, hf, array_length(hf));
+#endif
    proto_register_subtree_array(ett,array_length(ett));
    
 }