Fix for bug 5422:
[obnox/wireshark/wip.git] / epan / dissectors / packet-lapdm.c
index e4718facac75d6d1ebf7c7e94b7528e43f19109f..dbeac85f973928e770d64d1ad125b6c4f6e00e49 100644 (file)
@@ -55,9 +55,7 @@
 # include "config.h"
 #endif
 
-#include <stdio.h>
 #include <glib.h>
-#include <string.h>
 #include <epan/packet.h>
 #include <epan/prefs.h>
 #include <epan/xdlc.h>
@@ -322,7 +320,7 @@ dissect_lapdm(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
                 }
             }
 
-            /* Now reset fragmentation information in pinfo 
+            /* Now reset fragmentation information in pinfo
              */
             pinfo->fragmented = save_fragmented;
     }
@@ -364,7 +362,7 @@ proto_register_lapdm(void)
 
         { &hf_lapdm_control,
         { "Control Field", "lapdm.control_field", FT_UINT8, BASE_HEX, NULL, 0x0,
-        "Control field", HFILL }},
+        NULL, HFILL }},
 
         { &hf_lapdm_n_r,
         { "N(R)", "lapdm.control.n_r", FT_UINT8, BASE_DEC,
@@ -404,7 +402,7 @@ proto_register_lapdm(void)
 
         { &hf_lapdm_length,
         { "Length Field", "lapdm.length_field", FT_UINT8, BASE_HEX,
-        NULL, 0x0, "Length field", HFILL }},
+        NULL, 0x0, NULL, HFILL }},
 
         { &hf_lapdm_el,
         { "EL", "lapdm.el", FT_UINT8, BASE_DEC,