aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-gsm_a_rr.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_rr.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_rr.c')
-rw-r--r--epan/dissectors/packet-gsm_a_rr.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/epan/dissectors/packet-gsm_a_rr.c b/epan/dissectors/packet-gsm_a_rr.c
index 10fdf094c4..d708e02bf6 100644
--- a/epan/dissectors/packet-gsm_a_rr.c
+++ b/epan/dissectors/packet-gsm_a_rr.c
@@ -10157,11 +10157,11 @@ proto_register_gsm_a_rr(void)
/* Setup protocol subtree array */
#define NUM_INDIVIDUAL_ELEMS 3
- static gint *ett[NUM_INDIVIDUAL_ELEMS +
- NUM_GSM_DTAP_MSG_RR +
- NUM_GSM_RR_ELEM +
- NUM_GSM_RR_REST_OCTETS_ELEM +
- NUM_GSM_SACCH_MSG_RR];
+ gint *ett[NUM_INDIVIDUAL_ELEMS +
+ NUM_GSM_DTAP_MSG_RR +
+ NUM_GSM_RR_ELEM +
+ NUM_GSM_RR_REST_OCTETS_ELEM +
+ NUM_GSM_SACCH_MSG_RR];
ett[0] = &ett_ccch_msg;
ett[1] = &ett_ccch_oct_1;