aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-cisco-sm.c
diff options
context:
space:
mode:
authorJeff Morriss <jeff.morriss.ws@gmail.com>2013-09-16 14:05:31 +0000
committerJeff Morriss <jeff.morriss.ws@gmail.com>2013-09-16 14:05:31 +0000
commitbf093ef1f695239ceb67baa9e680daba6afb7e48 (patch)
tree6f58e722520a1d1fb136bac701b6ebc3ce001261 /epan/dissectors/packet-cisco-sm.c
parent346f803d42ac477109e02df2578eb8c86ccf4c4f (diff)
Remove set-but-no-longer-used variable.
svn path=/trunk/; revision=52099
Diffstat (limited to 'epan/dissectors/packet-cisco-sm.c')
-rw-r--r--epan/dissectors/packet-cisco-sm.c8
1 files changed, 3 insertions, 5 deletions
diff --git a/epan/dissectors/packet-cisco-sm.c b/epan/dissectors/packet-cisco-sm.c
index 5575eb9dc5..7427143683 100644
--- a/epan/dissectors/packet-cisco-sm.c
+++ b/epan/dissectors/packet-cisco-sm.c
@@ -101,7 +101,7 @@ static const value_string sm_backhaul_reason_code[] = {
{ 0x00, "Layer management request"},
{ 0x01, "SUERM (Signal Unit Error Monitor) failure"},
{ 0x02, "Excessively long alignment period"},
- { 0x03, "T7 timer expired"},
+ { 0x03, "T7 timer expired"},
{ 0x04, "Physical interface failure"},
{ 0x05, "Two or three invalid BSNs"},
{ 0x06, "Two or three invalid FIBs"},
@@ -114,7 +114,7 @@ static const value_string sm_backhaul_reason_code[] = {
{ 0x17, "Proving period failure"},
{ 0x18, "Timer T1 expired waiting for FISU (Fill-In Signal Unit)"},
{ 0x19, "SIN received in the in-service state"},
- { 0x20, "CTS lost"},
+ { 0x20, "CTS lost"},
{ 0x25, "No resources"},
{ 0, NULL}
};
@@ -275,7 +275,6 @@ dissect_sm(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
proto_tree *sm_tree;
tvbuff_t *next_tvb = NULL;
guint32 sm_message_type;
- guint32 bsn_num = 0;
guint32 bh_event_code = 0;
guint16 protocol;
guint16 msg_type = 0;
@@ -461,7 +460,6 @@ dissect_sm(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
proto_tree_add_item(sm_tree, hf_sm_retrieval_type, tvb, offset, 4, ENC_BIG_ENDIAN);
if (msg_type == PDU_RETRIEVAL_CONFIRM && tvb_get_ntohl(tvb,offset) == 0x01) {
offset += 4;
- bsn_num = tvb_get_ntohl(tvb,offset);
proto_tree_add_item(sm_tree, hf_sm_bsn_num, tvb, offset, 4, ENC_BIG_ENDIAN);
}
break;
@@ -575,7 +573,7 @@ proto_register_sm(void)
FT_UINT32, BASE_HEX, VALS(sm_linkdown_cause_code), 0x0,
NULL, HFILL }
},
-
+
{ &hf_sm_retrieval_type,
{ "Retrieval type","sm.retrieval_type",
FT_UINT32, BASE_HEX, VALS(sm_retrieval_type), 0x0,