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>
This commit is contained in:
Alexis La Goutte 2017-07-27 10:34:58 +02:00 committed by Michael Mann
parent b6d080a04e
commit 591d7ec817
1 changed files with 3 additions and 3 deletions

View File

@ -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;