diff options
author | Michael Tüxen <tuexen@fh-muenster.de> | 2011-10-26 20:58:05 +0000 |
---|---|---|
committer | Michael Tüxen <tuexen@fh-muenster.de> | 2011-10-26 20:58:05 +0000 |
commit | 406678d63b5fb7358774e93220c0cc159d618c71 (patch) | |
tree | 2abfca82a475f8470bf7b4356c2eb27b2d2b24bc /epan/dissectors/packet-cip.c | |
parent | 05269a7178343027a518591c1e8dd047c0c10055 (diff) |
Declare unused parameters as such. Don't assign them to themselves.
svn path=/trunk/; revision=39620
Diffstat (limited to 'epan/dissectors/packet-cip.c')
-rw-r--r-- | epan/dissectors/packet-cip.c | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/epan/dissectors/packet-cip.c b/epan/dissectors/packet-cip.c index 56c51dcc10..87bd2f0260 100644 --- a/epan/dissectors/packet-cip.c +++ b/epan/dissectors/packet-cip.c @@ -2176,16 +2176,11 @@ int dissect_id_revision(packet_info *pinfo, proto_tree *tree, proto_item *item, return 2; } -int dissect_msg_rout_num_classes(packet_info *pinfo, proto_tree *tree, proto_item *item, tvbuff_t *tvb, - int offset, int total_len) +int dissect_msg_rout_num_classes(packet_info *pinfo _U_, proto_tree *tree, proto_item *item _U_, tvbuff_t *tvb, + int offset, int total_len _U_) { guint16 i, num_classes; - /* Unused parameters */ - pinfo = pinfo; - item = item; - total_len = total_len; - num_classes = tvb_get_letohs( tvb, offset); proto_tree_add_item( tree, hf_msg_rout_num_classes, tvb, offset, 2, ENC_LITTLE_ENDIAN); |