diff options
author | etxrab <etxrab@f5534014-38df-0310-8fa8-9805f1628bb7> | 2008-08-24 17:42:30 +0000 |
---|---|---|
committer | etxrab <etxrab@f5534014-38df-0310-8fa8-9805f1628bb7> | 2008-08-24 17:42:30 +0000 |
commit | 8eebf28f7dd81f86858135920925a546c5a9aab6 (patch) | |
tree | 3e77d9efaa05a1da3af71e2246c8d9d0e75e6d49 /epan/dissectors/packet-gsm_a_rp.c | |
parent | c8f309f0e787f97af9bccb39b9312784d265c5e2 (diff) |
From Neil Piercy:
1 new split file (GMM & SM in one file) and diff patches for the others. The RR, RP and BSSMAP patches are really a tidy-up: now they are split it becomes clear what was redundant code.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@26064 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'epan/dissectors/packet-gsm_a_rp.c')
-rw-r--r-- | epan/dissectors/packet-gsm_a_rp.c | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/epan/dissectors/packet-gsm_a_rp.c b/epan/dissectors/packet-gsm_a_rp.c index 9632d5eb31..a4038c6838 100644 --- a/epan/dissectors/packet-gsm_a_rp.c +++ b/epan/dissectors/packet-gsm_a_rp.c @@ -89,11 +89,6 @@ static dissector_table_t sms_dissector_table; /* SMS TPDU */ static packet_info *g_pinfo; static proto_tree *g_tree; -/* - * this should be set on a per message basis, if possible - */ -static gint is_uplink; - typedef enum { /* Short Message Service Information Elements [5] 8.2 */ @@ -286,7 +281,6 @@ rp_data_n_ms(tvbuff_t *tvb, proto_tree *tree, guint32 offset, guint len) curr_offset = offset; curr_len = len; - is_uplink = IS_UPLINK_FALSE; g_pinfo->p2p_dir = P2P_DIR_SENT; ELEM_MAND_V(GSM_A_PDU_TYPE_RP, DE_RP_MESSAGE_REF); @@ -313,7 +307,6 @@ rp_data_ms_n(tvbuff_t *tvb, proto_tree *tree, guint32 offset, guint len) curr_offset = offset; curr_len = len; - is_uplink = IS_UPLINK_TRUE; g_pinfo->p2p_dir = P2P_DIR_RECV; ELEM_MAND_V(GSM_A_PDU_TYPE_RP, DE_RP_MESSAGE_REF); @@ -340,8 +333,6 @@ rp_smma(tvbuff_t *tvb, proto_tree *tree, guint32 offset, guint len) curr_offset = offset; curr_len = len; - is_uplink = IS_UPLINK_TRUE; - ELEM_MAND_V(GSM_A_PDU_TYPE_RP, DE_RP_MESSAGE_REF); EXTRANEOUS_DATA_CHECK(curr_len, 0); @@ -360,7 +351,6 @@ rp_ack_n_ms(tvbuff_t *tvb, proto_tree *tree, guint32 offset, guint len) curr_offset = offset; curr_len = len; - is_uplink = IS_UPLINK_FALSE; g_pinfo->p2p_dir = P2P_DIR_SENT; ELEM_MAND_V(GSM_A_PDU_TYPE_RP, DE_RP_MESSAGE_REF); @@ -383,7 +373,6 @@ rp_ack_ms_n(tvbuff_t *tvb, proto_tree *tree, guint32 offset, guint len) curr_offset = offset; curr_len = len; - is_uplink = IS_UPLINK_TRUE; g_pinfo->p2p_dir = P2P_DIR_RECV; ELEM_MAND_V(GSM_A_PDU_TYPE_RP, DE_RP_MESSAGE_REF); @@ -406,7 +395,6 @@ rp_error_n_ms(tvbuff_t *tvb, proto_tree *tree, guint32 offset, guint len) curr_offset = offset; curr_len = len; - is_uplink = IS_UPLINK_FALSE; g_pinfo->p2p_dir = P2P_DIR_SENT; ELEM_MAND_V(GSM_A_PDU_TYPE_RP, DE_RP_MESSAGE_REF); @@ -431,7 +419,6 @@ rp_error_ms_n(tvbuff_t *tvb, proto_tree *tree, guint32 offset, guint len) curr_offset = offset; curr_len = len; - is_uplink = IS_UPLINK_TRUE; g_pinfo->p2p_dir = P2P_DIR_RECV; ELEM_MAND_V(GSM_A_PDU_TYPE_RP, DE_RP_MESSAGE_REF); |