do not segfault if make_cache_entry failed
[gitweb.git] / archive.c
index e2280df56723809c5af1d566f0721e2639fff10c..44ab008039854b7c585adf53bee195b81f4e18c7 100644 (file)
--- a/archive.c
+++ b/archive.c
@@ -15,7 +15,7 @@ static char const * const archive_usage[] = {
 
 #define USES_ZLIB_COMPRESSION 1
 
-const struct archiver {
+static const struct archiver {
        const char *name;
        write_archive_fn_t write_archive;
        unsigned int flags;