cl3: (trivial) drop _U_ for a parameter that is used

Fix the following compiler warnings

packet-cl3.c:120:39: warning: 'tree' was marked unused but was used [-Wused-but-marked-unused]
  ti = proto_tree_add_protocol_format(tree, proto_cl3, tvb, 0, header_length, "CableLabs Layer-3 Protocol (CL3) Version %u", (guint)version);

packet-cl3.c:136:32: warning: 'tree' was marked unused but was used [-Wused-but-marked-unused]
    dissect_cl3_v1(tvb, pinfo, tree, ti, cl3_tree, header_length);
This commit is contained in:
Martin Kaiser 2020-08-31 18:13:08 +02:00
parent e7d20090f7
commit 6c0d34cf4b
1 changed files with 1 additions and 1 deletions

View File

@ -94,7 +94,7 @@ dissect_cl3_v1(
/* called for each incomming framing matching the CL3 ethertype: */
static int
dissect_cl3(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree _U_, void *data _U_) {
dissect_cl3(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void *data _U_) {
proto_item *ti;
proto_tree *cl3_tree;