aboutsummaryrefslogtreecommitdiffstats
path: root/asn1/gsm_map
diff options
context:
space:
mode:
authorPascal Quantin <pascal.quantin@gmail.com>2014-03-15 14:31:14 +0100
committerPascal Quantin <pascal.quantin@gmail.com>2014-03-15 17:52:16 +0000
commitd6548f9301f6fb077a9aedb5154b3b10b1b9beb1 (patch)
tree344a343eaa1328185f63a1764b04001d9e5ae653 /asn1/gsm_map
parent830684fc0d6cc94aa7d892c965b722eb306b59a6 (diff)
Remove unused const variables errors seen with recent Clang version
Fixes bug 9886 Change-Id: I8624ef1c5874aea5521d21c998510fc29c838936 Reviewed-on: https://code.wireshark.org/review/657 Reviewed-by: Pascal Quantin <pascal.quantin@gmail.com>
Diffstat (limited to 'asn1/gsm_map')
-rw-r--r--asn1/gsm_map/gsm_map.cnf7
-rw-r--r--asn1/gsm_map/packet-gsm_map-template.c6
2 files changed, 13 insertions, 0 deletions
diff --git a/asn1/gsm_map/gsm_map.cnf b/asn1/gsm_map/gsm_map.cnf
index cb938b918f..07dd16d329 100644
--- a/asn1/gsm_map/gsm_map.cnf
+++ b/asn1/gsm_map/gsm_map.cnf
@@ -42,6 +42,13 @@ Remote-Operations-Information-Objects ROS
#.NO_EMIT
SubscriberData
+#.NO_EMIT ONLY_VALS
+CallBarredParam
+PW-RegistrationFailureCause
+SystemFailureParam
+ExtensionType
+NumberPorted/_untag
+
#.OMIT_ASSIGNMENT
Code
Priority
diff --git a/asn1/gsm_map/packet-gsm_map-template.c b/asn1/gsm_map/packet-gsm_map-template.c
index 2eb7322f6e..69e1b5165f 100644
--- a/asn1/gsm_map/packet-gsm_map-template.c
+++ b/asn1/gsm_map/packet-gsm_map-template.c
@@ -506,6 +506,7 @@ other values reserved for future use
*/
/* TS 23 032 Table 2a: Coding of Type of Shape */
+#if 0
static const value_string type_of_shape_vals[] = {
{ ELLIPSOID_POINT, "Ellipsoid Point"},
{ ELLIPSOID_POINT_WITH_UNCERT_CIRC, "Ellipsoid point with uncertainty Circle"},
@@ -529,6 +530,7 @@ static const value_string dir_of_alt_vals[] = {
{ 1, "Altitude expresses depth"},
{ 0, NULL }
};
+#endif
static const value_string gsm_map_cbs_data_coding_scheme_coding_grp_vals[] = {
{ 0, "Coding Group 0(Language using the GSM 7 bit default alphabet)" },
@@ -855,10 +857,14 @@ const value_string gsm_map_opr_code_strings[] = {
#include "packet-gsm_map-table.c"
{ 0, NULL }
};
+
+#if 0
static const value_string gsm_map_err_code_string_vals[] = {
#include "packet-gsm_map-table.c"
{ 0, NULL }
};
+#endif
+
static const true_false_string gsm_map_extension_value = {
"No Extension",
"Extension"