diff options
author | Bill Meier <wmeier@newsguy.com> | 2013-07-01 13:03:23 +0000 |
---|---|---|
committer | Bill Meier <wmeier@newsguy.com> | 2013-07-01 13:03:23 +0000 |
commit | 8d5bbb41469656b27d34ac3e334333652f63cefa (patch) | |
tree | 6e47ff7a85ea3bc7efd1a64d084db7b1ca977c39 /epan/dissectors/packet-icq.c | |
parent | 59e46d816b4c22e4d39778aa3ccff2ac9e847007 (diff) |
Define certain 'const char *...' arrays as static.
Reduces code memory usage and execution time.
(See SVN #50271)
svn path=/trunk/; revision=50292
Diffstat (limited to 'epan/dissectors/packet-icq.c')
-rw-r--r-- | epan/dissectors/packet-icq.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-icq.c b/epan/dissectors/packet-icq.c index b9af2e78e5..427c50d026 100644 --- a/epan/dissectors/packet-icq.c +++ b/epan/dissectors/packet-icq.c @@ -1222,7 +1222,7 @@ icqv5_srv_meta_user(proto_tree* tree, /* Tree to put the data in */ * They are used to "implement" a poorman's exception handling */ int len = 0; - const char *descr[] = { + static const char *descr[] = { "Nick", "First name", "Last name", |