Fix some Dead Store (Dead assignement/Dead increment) Warning found by Clang

svn path=/trunk/; revision=40893
This commit is contained in:
Alexis La Goutte 2012-02-06 22:04:46 +00:00
parent babaaf9096
commit 797633019d
1 changed files with 2 additions and 2 deletions

View File

@ -339,7 +339,7 @@ dissect_epl_v1_asnd(proto_tree *epl_v1_tree, tvbuff_t *tvb, gint offset)
/* Code to actually dissect the packets */
static gboolean
static int
dissect_epl_v1(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
{
guint8 epl_v1_service, epl_v1_dest, epl_v1_src, epl_v1_ainv_ch, epl_v1_asnd_ch;
@ -448,7 +448,7 @@ dissect_epl_v1(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
default: /* not a valid MessageType - can't dissect any further. */
return FALSE;
}
return TRUE;
return offset;
}