Make a never-changed pile-o-zeroes const.
authorGuy Harris <guy@alum.mit.edu>
Mon, 29 Jul 2013 07:34:07 +0000 (07:34 -0000)
committerGuy Harris <guy@alum.mit.edu>
Mon, 29 Jul 2013 07:34:07 +0000 (07:34 -0000)
svn path=/trunk/; revision=51003

wiretap/snoop.c

index 405fac67880ffe50569fcbe730af56bb54bccc5b..1bae5fc613d8da2573cb9a0d4b63b69149564a20 100644 (file)
@@ -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;