aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-bacapp.c
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2005-11-03 04:33:51 +0000
committerGuy Harris <guy@alum.mit.edu>2005-11-03 04:33:51 +0000
commit81b9490d4cc997a8d068c92b8d04e8b1b602ca42 (patch)
tree0bc3bf610580e3769aacb3b71f35974ee24a5e67 /epan/dissectors/packet-bacapp.c
parent542381825ff9306b91063b61eafdd789078ed2c0 (diff)
Get rid of (valid) warning about uninitialized variable, and clean up
indentation. svn path=/trunk/; revision=16386
Diffstat (limited to 'epan/dissectors/packet-bacapp.c')
-rw-r--r--epan/dissectors/packet-bacapp.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/epan/dissectors/packet-bacapp.c b/epan/dissectors/packet-bacapp.c
index 0a4562a8a5..4fcd953133 100644
--- a/epan/dissectors/packet-bacapp.c
+++ b/epan/dissectors/packet-bacapp.c
@@ -4615,10 +4615,10 @@ fReadRangeAck (tvbuff_t *tvb, proto_tree *tree, guint offset)
static guint fAccessMethod(tvbuff_t *tvb, proto_tree *tree, guint offset)
{
- guint32 lvt;
+ guint32 lvt;
guint8 tag_no, tag_info;
- proto_item* tt;
- proto_tree* subtree;
+ proto_item* tt;
+ proto_tree* subtree = NULL;
fTagHeader (tvb, offset, &tag_no, &tag_info, &lvt);