diff options
author | etxrab <etxrab@f5534014-38df-0310-8fa8-9805f1628bb7> | 2008-07-24 12:26:59 +0000 |
---|---|---|
committer | etxrab <etxrab@f5534014-38df-0310-8fa8-9805f1628bb7> | 2008-07-24 12:26:59 +0000 |
commit | 2a1c0457cbff947d90e5d255086205561de3a8c8 (patch) | |
tree | 3a1afdfa1df53e6950b67456d9c5b1a25c6c7746 /asn1/sabp | |
parent | 19be755c5efc486803fb994a26e68e985c3490a2 (diff) |
Get rid of unused code warnings.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@25818 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'asn1/sabp')
-rw-r--r-- | asn1/sabp/packet-sabp-template.c | 11 | ||||
-rw-r--r-- | asn1/sabp/sabp.cnf | 3 |
2 files changed, 13 insertions, 1 deletions
diff --git a/asn1/sabp/packet-sabp-template.c b/asn1/sabp/packet-sabp-template.c index 0833ed969f..c70e4eb8b9 100644 --- a/asn1/sabp/packet-sabp-template.c +++ b/asn1/sabp/packet-sabp-template.c @@ -43,6 +43,7 @@ #include "packet-per.h" #include "packet-e212.h" #include "packet-gsm_map.h" +#include "packet-gsm_sms.h" #ifdef _MSC_VER /* disable: "warning C4146: unary minus operator applied to unsigned type, result still unsigned" */ @@ -61,12 +62,14 @@ static dissector_handle_t sabp_tcp_handle = NULL; /* Initialize the protocol and registered fields */ static int proto_sabp = -1; +static int hf_sabp_no_of_pages = -1; #include "packet-sabp-hf.c" /* Initialize the subtree pointers */ static int ett_sabp = -1; static int ett_sabp_e212 = -1; -static int ett_sabp_cbs_data_coding = -1;; +static int ett_sabp_cbs_data_coding = -1; +static int ett_sabp_bcast_msg = -1; #include "packet-sabp-ett.c" @@ -170,6 +173,11 @@ void proto_register_sabp(void) { /* List of fields */ static hf_register_info hf[] = { + { &hf_sabp_no_of_pages, + { "Number-of-Pages", "sabp.no_of_pages", + FT_UINT8, BASE_DEC, NULL, 0, + "Number-of-Pages", HFILL }}, + #include "packet-sabp-hfarr.c" }; @@ -178,6 +186,7 @@ void proto_register_sabp(void) { &ett_sabp, &ett_sabp_e212, &ett_sabp_cbs_data_coding, + &ett_sabp_bcast_msg, #include "packet-sabp-ettarr.c" }; diff --git a/asn1/sabp/sabp.cnf b/asn1/sabp/sabp.cnf index d3963f9686..8f6c993f8d 100644 --- a/asn1/sabp/sabp.cnf +++ b/asn1/sabp/sabp.cnf @@ -8,6 +8,9 @@ PER ALIGNED #.END +#.NO_EMIT +TBCD-STRING + #.PDU_NEW SABP-PDU |