summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnders Broman <anders.broman@ericsson.com>2012-11-22 07:36:39 +0000
committerAnders Broman <anders.broman@ericsson.com>2012-11-22 07:36:39 +0000
commitbbc99a5085114e10e5f4132581560e43731b15f7 (patch)
tree65529cc7bd6268963f4bf9d599d174326c634022
parent0485b2ec80171e04e71c897e520836f75bdf2d5b (diff)
downloadwireshark-bbc99a5085114e10e5f4132581560e43731b15f7.tar.gz
Copy over:
Revision 46125 - fix /home/wireshark/builders/trunk/ubuntu1204x64/build/epan/dissectors/packet-bssgp.c: In function de_bssgp_son_transfer_app_id: /home/wireshark/builders/trunk/ubuntu1204x64/build/epan/dissectors/packet-bssgp.c:3173:12: error: variable next_tvb set but not used [-Werror=unused-but-set-variable] cc1: all warnings being treated as errors svn path=/trunk-1.8/; revision=46136
-rw-r--r--epan/dissectors/packet-bssgp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/epan/dissectors/packet-bssgp.c b/epan/dissectors/packet-bssgp.c
index 2a22ca4dc9..06f3e19248 100644
--- a/epan/dissectors/packet-bssgp.c
+++ b/epan/dissectors/packet-bssgp.c
@@ -3178,8 +3178,8 @@ de_bssgp_son_transfer_app_id(tvbuff_t *tvb, proto_tree *tree, packet_info *pinfo
*/
if(len > 0){
next_tvb = tvb_new_subset(tvb, offset, len, len);
- dissect_s1ap_SONtransferApplicationIdentity_PDU(tvb, gpinfo, tree);
- }
+ dissect_s1ap_SONtransferApplicationIdentity_PDU(next_tvb, gpinfo, tree);
+ }
return(len);
}