aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-cip.c
diff options
context:
space:
mode:
authortuexen <tuexen@f5534014-38df-0310-8fa8-9805f1628bb7>2011-10-26 20:58:05 +0000
committertuexen <tuexen@f5534014-38df-0310-8fa8-9805f1628bb7>2011-10-26 20:58:05 +0000
commit04476e6984e9586406630266437b5c7916df1dc9 (patch)
tree2abfca82a475f8470bf7b4356c2eb27b2d2b24bc /epan/dissectors/packet-cip.c
parent32da85455dddc0c49d1af1358ef206f180ec5cfc (diff)
Declare unused parameters as such. Don't assign them to themselves.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@39620 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'epan/dissectors/packet-cip.c')
-rw-r--r--epan/dissectors/packet-cip.c9
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);