packet-openflow.c:318: warning: return type defaults to 'int'
packet-openflow.c: In function 'dissect_openflow_ofp_match_v_1_0':
packet-openflow.c:350: warning: control reaches end of non-void function

svn path=/trunk/; revision=51650
This commit is contained in:
Anders Broman 2013-09-02 21:45:09 +00:00
parent a768180b30
commit 2cddd61a48
1 changed files with 2 additions and 1 deletions

View File

@ -313,7 +313,7 @@ static const value_string openflow_type_values[] = {
#define OFPAT_SET_TP_DST 9 /* TCP/UDP destination port. */
#define OFPAT_VENDOR 0xffff
static int
dissect_openflow_ofp_match_v_1_0(tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree *tree, int offset)
{
@ -347,6 +347,7 @@ dissect_openflow_ofp_match_v_1_0(tvbuff_t *tvb, packet_info *pinfo _U_, proto_tr
/* uint16_t tp_dst; TCP/UDP destination port. */
offset +=20;
return offset;
}