aboutsummaryrefslogtreecommitdiffstats
path: root/asn1/gsmmap
diff options
context:
space:
mode:
authorStephen Fisher <steve@stephen-fisher.com>2008-04-07 05:22:54 +0000
committerStephen Fisher <steve@stephen-fisher.com>2008-04-07 05:22:54 +0000
commit726a1caaf1c717a5784beb2fb5a05900552563f0 (patch)
tree3f861f04f60e8872bcf7f82f56de654af93a7590 /asn1/gsmmap
parent545d54ae745aa147ffa2e883dd0b982b56f86761 (diff)
- Remove GLIB1 code
- Change ugly GLIB version checking statements to GLIB_CHECK_VERSION - Remove ws_strsplit files because we no longer need to borrow GLIB2's g_strsplit code for the no longer supported GLIB1 builds svn path=/trunk/; revision=24829
Diffstat (limited to 'asn1/gsmmap')
-rw-r--r--asn1/gsmmap/packet-gsmmap-template.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/asn1/gsmmap/packet-gsmmap-template.c b/asn1/gsmmap/packet-gsmmap-template.c
index 6245d41b99..72663f2de8 100644
--- a/asn1/gsmmap/packet-gsmmap-template.c
+++ b/asn1/gsmmap/packet-gsmmap-template.c
@@ -241,7 +241,6 @@ const value_string gsm_map_etsi_defined_pdp_vals[] = {
static void
gsmmap_add_ucs2_ussd_string(tvbuff_t *tvb, proto_tree *tree, int length)
{
-#if GLIB_MAJOR_VERSION > 2
gchar *utf8_text = NULL;
GIConv cd;
GError *l_conv_error = NULL;
@@ -261,9 +260,6 @@ gsmmap_add_ucs2_ussd_string(tvbuff_t *tvb, proto_tree *tree, int length)
}
else
proto_tree_add_text(tree, tvb, 0, length, "USSD String: g_iconv_open FAILED contact wireshark");
-#else
- proto_tree_add_text(tree, tvb, 0, length, "UCS2 conversion not supported with Glib < 2");
-#endif
}
char * unpack_digits(tvbuff_t *tvb, int offset){