diff options
author | Stig Bjørlykke <stig@bjorlykke.org> | 2009-10-18 21:15:37 +0000 |
---|---|---|
committer | Stig Bjørlykke <stig@bjorlykke.org> | 2009-10-18 21:15:37 +0000 |
commit | 056c915e61574d8a2e15afface4e5fea97e7c4bd (patch) | |
tree | acded9a88b199eb71fbb1dff40e615be3b75b7cf /epan/dissectors/packet-isakmp.c | |
parent | 53c447a3aaa0d0ca084ca3ff39b9a2646ef8a2bf (diff) |
Removed unused argument in v2_attrval2str().
svn path=/trunk/; revision=30606
Diffstat (limited to 'epan/dissectors/packet-isakmp.c')
-rw-r--r-- | epan/dissectors/packet-isakmp.c | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/epan/dissectors/packet-isakmp.c b/epan/dissectors/packet-isakmp.c index 836591a3e1..d34fe6fd72 100644 --- a/epan/dissectors/packet-isakmp.c +++ b/epan/dissectors/packet-isakmp.c @@ -714,7 +714,7 @@ static const char *doitype2str(guint32); static const char *msgtype2str(int, guint16); static const char *situation2str(guint32); static const char *v1_attrval2str(int, guint16, guint32); -static const char *v2_attrval2str(guint16, guint32); +static const char *v2_attrval2str(guint16); static const char *cfgtype2str(int, guint8); static const char *cfgattr2str(int, guint16); static const char *id2str(int, guint8); @@ -1762,7 +1762,7 @@ dissect_transform2(tvbuff_t *tvb, int offset, int length, proto_tree *tree, proto_tree_add_text(tree, tvb, offset, 4, "%s (%u): %s (%u)", str, type, - v2_attrval2str(type, val), val); + v2_attrval2str(type), val); offset += 4; length -= 4; } @@ -1777,7 +1777,7 @@ dissect_transform2(tvbuff_t *tvb, int offset, int length, proto_tree *tree, proto_tree_add_text(tree, tvb, offset, pack_len, "%s (%u): %s (%u)", str, type, - v2_attrval2str(type, val), val); + v2_attrval2str(type), val); } offset += pack_len; length -= pack_len; @@ -3123,9 +3123,8 @@ situation2str(guint32 type) } static const char * -v2_attrval2str(guint16 att_type, guint32 value) +v2_attrval2str(guint16 att_type) { - value = 0; /* dummy to be less warning in compiling it */ switch (att_type) { case 14: return "Key-Length"; |