From: Tim Kientzle Date: Sat, 23 May 2009 17:29:40 +0000 (-0400) Subject: Correct the declaration of a static volatile. X-Git-Tag: v2.8.0~645 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=b2ce6ca9d1d6011f29c1031a0fb3aba39b43eede;p=thirdparty%2Flibarchive.git Correct the declaration of a static volatile. SVN-Revision: 1095 --- diff --git a/libarchive/archive_write_set_format_zip.c b/libarchive/archive_write_set_format_zip.c index 55879e712..d829008e6 100644 --- a/libarchive/archive_write_set_format_zip.c +++ b/libarchive/archive_write_set_format_zip.c @@ -624,7 +624,7 @@ bytecrc32(unsigned c, const void *_p, size_t s) { unsigned b, i; const unsigned char *p = _p; - volatile static int bytecrc_table_inited = 0; + static volatile int bytecrc_table_inited = 0; static unsigned bytecrc_table[256]; if (p == NULL) return (0);