diff options
author | Alexis La Goutte <alexis.lagoutte@gmail.com> | 2017-07-27 10:34:58 +0200 |
---|---|---|
committer | Michael Mann <mmann78@netscape.net> | 2017-08-09 00:54:51 +0000 |
commit | 591d7ec817162687bee8a278c066891d86448e31 (patch) | |
tree | 5c8526f8159283daaddccb2c4a953cea0f9e56b8 /epan/dissectors | |
parent | b6d080a04e3553caa08af276881863948472fc19 (diff) |
openflow (v1): fix 'pinfo/length' was marked unused but was used [-Wused-but-marked-unused]
Change-Id: Ie74d079cfe63dcdb5f59a576d64c93d4452edeb2
Reviewed-on: https://code.wireshark.org/review/23018
Reviewed-by: Michael Mann <mmann78@netscape.net>
Diffstat (limited to 'epan/dissectors')
-rw-r--r-- | epan/dissectors/packet-openflow_v1.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/epan/dissectors/packet-openflow_v1.c b/epan/dissectors/packet-openflow_v1.c index 52f89b83f2..50fd3f5227 100644 --- a/epan/dissectors/packet-openflow_v1.c +++ b/epan/dissectors/packet-openflow_v1.c @@ -390,7 +390,7 @@ static const value_string openflow_action_values[] = { }; static int -dissect_openflow_action_header(tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree *tree, int offset) +dissect_openflow_action_header(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, int offset) { guint16 action_type, action_len; proto_item* ti; @@ -629,7 +629,7 @@ static const value_string openflow_reason_values[] = { }; static void -dissect_openflow_pkt_in(tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree *tree, int offset, guint16 length) +dissect_openflow_pkt_in(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, int offset, guint16 length) { tvbuff_t *next_tvb; @@ -657,7 +657,7 @@ dissect_openflow_pkt_in(tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree *tree, } static void -dissect_openflow_pkt_out(tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree *tree, int offset, guint16 length _U_) +dissect_openflow_pkt_out(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, int offset, guint16 length) { tvbuff_t *next_tvb; gint32 buffer_id; |