skinny: remove comment that matches field label (callState)
authorPeter Wu <peter@lekensteyn.nl>
Wed, 19 Sep 2018 21:38:08 +0000 (23:38 +0200)
committerAnders Broman <a.broman58@gmail.com>
Thu, 20 Sep 2018 22:59:31 +0000 (22:59 +0000)
Fixes checkAPIs error:

    Error: the blurb for hf_skinny_callState ("CallState") matches the
    field name ("callState") in epan/dissectors/packet-skinny.c

Change-Id: Id12396eb101bf66e148aed95d5c773b90d06ff34
Fixes: v1.99.0-rc1-1511-g276a697a6b ("[RFC] Skinny: Rewrite using automatic code generation")
Reviewed-on: https://code.wireshark.org/review/29747
Reviewed-by: Anders Broman <a.broman58@gmail.com>
epan/dissectors/packet-skinny.c
tools/SkinnyProtocolOptimized.xml

index 0cd2a1bef3b37e4ed82203dd83b87045c2d76fe8..bb34d1560017e3e68579a6291e50e952a72d76a8 100644 (file)
@@ -9536,7 +9536,7 @@ proto_register_skinny(void)
     {&hf_skinny_callState,
       {
         "callState", "skinny.callState", FT_UINT32, BASE_HEX | BASE_EXT_STRING, &DCallState_ext, 0x0,
-        "CallState", HFILL }},
+        NULL, HFILL }},
     {&hf_skinny_callType,
       {
         "callType", "skinny.callType", FT_UINT32, BASE_HEX | BASE_EXT_STRING, &CallType_ext, 0x0,
index cc9b99df41472cb255b8f2b786a7a62380d66da9..020bad5f21f394a87fd6a6c0e8cfc7904665216d 100644 (file)
   </enum>
   <message comment="" direction="pbx2dev" dynamic="no" msgtype="event" name="CallStateMessage" opcode="0x0111" type="CallControl">
     <fields beginversion="0" endversion="22">
-      <enum comment="CallState" name="callState" subtype="DCallState" type="uint32"/>
+      <enum comment="" name="callState" subtype="DCallState" type="uint32"/>
       <integer comment="LineId" name="lineInstance" type="uint32"/>
       <integer comment="CallId" name="callReference" type="uint32"/>
       <enum comment="" name="privacy" subtype="CallPrivacy" type="uint32"/>