aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-gsm_a_rp.c
diff options
context:
space:
mode:
authorBill Meier <wmeier@newsguy.com>2009-09-15 17:37:54 +0000
committerBill Meier <wmeier@newsguy.com>2009-09-15 17:37:54 +0000
commit6c545e0d798571d82230c9a652f7fea2d0f23365 (patch)
tree83eba9280f86acfc8cdaf8b62ea258b15673ed5e /epan/dissectors/packet-gsm_a_rp.c
parent9467ccee2c25d445a6d9a596ce3b77db65e63ffe (diff)
Save some memory: Don't statically allocate ett[] arrays used "dynamically".
svn path=/trunk/; revision=29929
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;