From bbc99a5085114e10e5f4132581560e43731b15f7 Mon Sep 17 00:00:00 2001 From: Anders Broman Date: Thu, 22 Nov 2012 07:36:39 +0000 Subject: 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 --- epan/dissectors/packet-bssgp.c | 4 ++-- 1 file 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); } -- cgit v1.2.1