aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-k12.c
diff options
context:
space:
mode:
authorguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>2005-06-16 10:06:22 +0000
committerguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>2005-06-16 10:06:22 +0000
commit659cd3d3dbdc754ea821b8a71ba8828d5ef3b50b (patch)
tree42a2736b5ce5836804e35b6e145f10c7f58b2da9 /epan/dissectors/packet-k12.c
parent17a59868fb3cf47e5ddd500f9fe7f7beb855540b (diff)
Remove unused variable.
Clean up indentation. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@14662 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'epan/dissectors/packet-k12.c')
-rw-r--r--epan/dissectors/packet-k12.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/epan/dissectors/packet-k12.c b/epan/dissectors/packet-k12.c
index 6e0fb2447d..53030b97fa 100644
--- a/epan/dissectors/packet-k12.c
+++ b/epan/dissectors/packet-k12.c
@@ -70,13 +70,12 @@ static void dissect_k12(tvbuff_t* tvb,packet_info* pinfo,proto_tree* tree) {
proto_item* k12_item;
proto_tree* k12_tree;
dissector_handle_t sub_handle;
- guint i;
k12_item = proto_tree_add_protocol_format(tree, proto_k12, tvb, 0, 0, "Packet from: '%s' (0x%.8x)",
pinfo->pseudo_header->k12.input_name,
pinfo->pseudo_header->k12.input);
- k12_tree = proto_item_add_subtree(k12_item, ett_k12);
+ k12_tree = proto_item_add_subtree(k12_item, ett_k12);
proto_tree_add_uint(k12_tree, hf_k12_port_id, tvb, 0,0,pinfo->pseudo_header->k12.input);
proto_tree_add_string(k12_tree, hf_k12_port_name, tvb, 0,0,pinfo->pseudo_header->k12.input_name);
@@ -85,7 +84,7 @@ static void dissect_k12(tvbuff_t* tvb,packet_info* pinfo,proto_tree* tree) {
k12_item = proto_tree_add_uint(k12_tree, hf_k12_port_type, tvb, 0, 0,
pinfo->pseudo_header->k12.input_type);
- k12_tree = proto_item_add_subtree(k12_item, ett_port);
+ k12_tree = proto_item_add_subtree(k12_item, ett_port);
switch ( pinfo->pseudo_header->k12.input_type ) {
case K12_PORT_DS0S: