aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-bssap.c
diff options
context:
space:
mode:
authorAlexis La Goutte <alexis.lagoutte@gmail.com>2012-03-10 17:46:18 +0000
committerAlexis La Goutte <alexis.lagoutte@gmail.com>2012-03-10 17:46:18 +0000
commit5634cf10fd866a57c2ae17a92c54dcc57947a01b (patch)
tree3dd47ef889d649233eb58e6b325a0c8e10eb5b46 /epan/dissectors/packet-bssap.c
parentba19f72aabb625832174d938a67434b03f53b4a6 (diff)
Fix some Dead Store (Dead assignement/Dead increment) Warning found by Clang
svn path=/trunk/; revision=41462
Diffstat (limited to 'epan/dissectors/packet-bssap.c')
-rw-r--r--epan/dissectors/packet-bssap.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/epan/dissectors/packet-bssap.c b/epan/dissectors/packet-bssap.c
index 504b2bcdc8..bbcad23769 100644
--- a/epan/dissectors/packet-bssap.c
+++ b/epan/dissectors/packet-bssap.c
@@ -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