From 1a2f69aa0358b814dca25377c35f468ce0a61123 Mon Sep 17 00:00:00 2001 From: Anders Broman Date: Fri, 30 Oct 2009 16:25:11 +0000 Subject: [PATCH] Remove debug code svn path=/trunk/; revision=30772 --- asn1/x2ap/x2ap.cnf | 17 +---------------- epan/dissectors/packet-x2ap.c | 17 +---------------- 2 files changed, 2 insertions(+), 32 deletions(-) diff --git a/asn1/x2ap/x2ap.cnf b/asn1/x2ap/x2ap.cnf index da44c57021..61ea15d692 100644 --- a/asn1/x2ap/x2ap.cnf +++ b/asn1/x2ap/x2ap.cnf @@ -94,22 +94,7 @@ ProtocolIE-ContainerPairList if (!parameter_tvb) return offset; - TRY { - dissect_lte_rrc_HandoverCommand_PDU(parameter_tvb, actx->pinfo, tree); - } - CATCH(BoundsError) { - g_warning("BoundsError"); - show_exception(parameter_tvb, actx->pinfo, tree, EXCEPT_CODE, GET_MESSAGE); - } - CATCH(ReportedBoundsError) { - g_warning("ReportedBoundsError"); - show_exception(parameter_tvb, actx->pinfo, tree, EXCEPT_CODE, GET_MESSAGE); - } - CATCH_ALL{ - g_warning("CATCH_ALL"); - show_exception(parameter_tvb, actx->pinfo, tree, EXCEPT_CODE, GET_MESSAGE); - } - ENDTRY; + dissect_lte_rrc_HandoverCommand_PDU(parameter_tvb, actx->pinfo, tree); #.TYPE_ATTR ProtocolExtensionID TYPE = FT_UINT8 DISPLAY = BASE_DEC STRINGS = VALS(x2ap_ProtocolIE_ID_vals) diff --git a/epan/dissectors/packet-x2ap.c b/epan/dissectors/packet-x2ap.c index 0e12a37bed..2fceeb3263 100644 --- a/epan/dissectors/packet-x2ap.c +++ b/epan/dissectors/packet-x2ap.c @@ -2439,22 +2439,7 @@ dissect_x2ap_TargeteNBtoSource_eNBTransparentContainer(tvbuff_t *tvb _U_, int of if (!parameter_tvb) return offset; - TRY { - dissect_lte_rrc_HandoverCommand_PDU(parameter_tvb, actx->pinfo, tree); - } - CATCH(BoundsError) { - g_warning("BoundsError"); - show_exception(parameter_tvb, actx->pinfo, tree, EXCEPT_CODE, GET_MESSAGE); - } - CATCH(ReportedBoundsError) { - g_warning("ReportedBoundsError"); - show_exception(parameter_tvb, actx->pinfo, tree, EXCEPT_CODE, GET_MESSAGE); - } - CATCH_ALL{ - g_warning("CATCH_ALL"); - show_exception(parameter_tvb, actx->pinfo, tree, EXCEPT_CODE, GET_MESSAGE); - } - ENDTRY; + dissect_lte_rrc_HandoverCommand_PDU(parameter_tvb, actx->pinfo, tree);