aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-bssgp.c
diff options
context:
space:
mode:
authorwmeier <wmeier@f5534014-38df-0310-8fa8-9805f1628bb7>2011-01-17 16:51:31 +0000
committerwmeier <wmeier@f5534014-38df-0310-8fa8-9805f1628bb7>2011-01-17 16:51:31 +0000
commit79a71a84a7f8b9b9b2813ca0bf2303d2e9220b3c (patch)
tree27249ec2ddac1cc99b34d99d1fa4ee679d9117ee /epan/dissectors/packet-bssgp.c
parentc3ce8d4f2260f4caaab730d841feeef29264be71 (diff)
(Until Anders comletes work): use #if 0 instead of //; init a variable;
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@35571 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'epan/dissectors/packet-bssgp.c')
-rw-r--r--epan/dissectors/packet-bssgp.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/epan/dissectors/packet-bssgp.c b/epan/dissectors/packet-bssgp.c
index 83c4b6a013..0290eac432 100644
--- a/epan/dissectors/packet-bssgp.c
+++ b/epan/dissectors/packet-bssgp.c
@@ -6595,11 +6595,13 @@ dissect_bssgp(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
proto_item *ti;
proto_tree *bssgp_tree;
/* RAB */
- //proto_item *item;
- //proto_tree *bssgp_tree;
+#if 0 /* previously commented out by C++ style comment */
+ proto_item *item;
+ proto_tree *bssgp_tree;
+#endif
int offset = 0;
guint32 len;
- const gchar *msg_str;
+ const gchar *msg_str = NULL;
gint ett_tree;
int hf_idx;
void (*msg_fcn)(tvbuff_t *tvb, proto_tree *tree, guint32 offset, guint len);