From bf9ec45248e34cd5126269b04a38c10bf6f05033 Mon Sep 17 00:00:00 2001 From: Guy Harris Date: Mon, 29 Jul 2013 07:34:07 +0000 Subject: Make a never-changed pile-o-zeroes const. svn path=/trunk/; revision=51003 --- wiretap/snoop.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'wiretap/snoop.c') diff --git a/wiretap/snoop.c b/wiretap/snoop.c index 405fac6788..1bae5fc613 100644 --- a/wiretap/snoop.c +++ b/wiretap/snoop.c @@ -877,7 +877,7 @@ static gboolean snoop_dump(wtap_dumper *wdh, struct snooprec_hdr rec_hdr; int reclen; guint padlen; - static char zeroes[4]; + static const char zeroes[4]; struct snoop_atm_hdr atm_hdr; int atm_hdrsize; -- cgit v1.2.1