diff options
author | Graeme Lunt <graeme.lunt@smhs.co.uk> | 2010-06-09 15:20:48 +0000 |
---|---|---|
committer | Graeme Lunt <graeme.lunt@smhs.co.uk> | 2010-06-09 15:20:48 +0000 |
commit | aae93d19d49100ee8edae2cdfa46cb5dd0c550a1 (patch) | |
tree | 32beed8f42bba7b64d3d3aa605c3bb55e2ce55f0 /asn1 | |
parent | 01323df70b64b3c0c74cb391c63725cfefaa2493 (diff) |
Update for missing const for object identifier string and marking tree as unused.
svn path=/trunk/; revision=33186
Diffstat (limited to 'asn1')
-rw-r--r-- | asn1/idmp/packet-idmp-template.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/asn1/idmp/packet-idmp-template.c b/asn1/idmp/packet-idmp-template.c index 759348f242..a9bf524a96 100644 --- a/asn1/idmp/packet-idmp-template.c +++ b/asn1/idmp/packet-idmp-template.c @@ -56,8 +56,8 @@ static dissector_handle_t idmp_handle = NULL; static proto_tree *top_tree = NULL; static struct SESSION_DATA_STRUCTURE* session = NULL; -static char *protocolID = NULL; -static char *saved_protocolID = NULL; +static const char *protocolID = NULL; +static const char *saved_protocolID = NULL; static guint32 opcode = -1; void prefs_register_idmp(void); /* forward declaration for use in preferences registration */ @@ -107,7 +107,7 @@ static const fragment_items idmp_frag_items = { }; -static int call_idmp_oid_callback(tvbuff_t *tvb, int offset, packet_info *pinfo, int op, proto_tree *tree) +static int call_idmp_oid_callback(tvbuff_t *tvb, int offset, packet_info *pinfo, int op, proto_tree *tree _U_) { struct SESSION_DATA_STRUCTURE *session; |