do not segfault if make_cache_entry failed
[gitweb.git] / archive.h
index 929368d80b2d73fa926da532fe526be85f5a4c47..0b15b35143fffcc13764e4e668ee452b191cc609 100644 (file)
--- a/archive.h
+++ b/archive.h
@@ -17,12 +17,6 @@ typedef int (*write_archive_fn_t)(struct archiver_args *);
 
 typedef int (*write_archive_entry_fn_t)(struct archiver_args *args, const unsigned char *sha1, const char *path, size_t pathlen, unsigned int mode, void *buffer, unsigned long size);
 
-struct archiver {
-       const char *name;
-       write_archive_fn_t write_archive;
-       unsigned int flags;
-};
-
 /*
  * Archive-format specific backends.
  */