aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-gsm_a_rp.c
diff options
context:
space:
mode:
authorwmeier <wmeier@f5534014-38df-0310-8fa8-9805f1628bb7>2009-09-15 17:37:54 +0000
committerwmeier <wmeier@f5534014-38df-0310-8fa8-9805f1628bb7>2009-09-15 17:37:54 +0000
commitfddd323428461125eef448d27124cbda4039a96b (patch)
tree83eba9280f86acfc8cdaf8b62ea258b15673ed5e /epan/dissectors/packet-gsm_a_rp.c
parentd395f6ceee300ff44a4c03424b98ef6495b48f35 (diff)
Save some memory: Don't statically allocate ett[] arrays used "dynamically".
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@29929 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'epan/dissectors/packet-gsm_a_rp.c')
-rw-r--r--epan/dissectors/packet-gsm_a_rp.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/epan/dissectors/packet-gsm_a_rp.c b/epan/dissectors/packet-gsm_a_rp.c
index 208a2beba0..0056fa69f4 100644
--- a/epan/dissectors/packet-gsm_a_rp.c
+++ b/epan/dissectors/packet-gsm_a_rp.c
@@ -557,10 +557,10 @@ proto_register_gsm_a_rp(void)
/* Setup protocol subtree array */
#define NUM_INDIVIDUAL_ELEMS 1
- static gint *ett[NUM_INDIVIDUAL_ELEMS +
- NUM_GSM_RP_MSG +
- NUM_GSM_RP_ELEM];
-
+ gint *ett[NUM_INDIVIDUAL_ELEMS +
+ NUM_GSM_RP_MSG +
+ NUM_GSM_RP_ELEM];
+
ett[0] = &ett_rp_msg;
last_offset = NUM_INDIVIDUAL_ELEMS;