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

svn path=/trunk/; revision=41462
This commit is contained in:
Alexis La Goutte 2012-03-10 17:46:18 +00:00
parent ba19f72aab
commit 5634cf10fd
1 changed files with 2 additions and 1 deletions

View File

@ -531,7 +531,7 @@ dissect_bssap_var_parameter(tvbuff_t *tvb, packet_info *pinfo,
return(parameter_length + length_length);
}
static void
static int
dissect_bssap_message(tvbuff_t *tvb, packet_info *pinfo, proto_tree *bssap_tree,
proto_tree *tree)
{
@ -586,6 +586,7 @@ dissect_bssap_message(tvbuff_t *tvb, packet_info *pinfo, proto_tree *bssap_tree,
dissect_bssap_unknown_message(tvb, bssap_tree);
break;
}
return offset;
}
static void