]> git.ipfire.org Git - thirdparty/git.git/commitdiff
[PATCH] Remove unused sha1_file_directory variable.
authorJunio C Hamano <junkio@cox.net>
Fri, 6 May 2005 23:33:39 +0000 (16:33 -0700)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Sat, 7 May 2005 00:02:24 +0000 (17:02 -0700)
Now all the users have gone.

Signed-off-by: Junio C Hamano <junkio@cox.net>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
cache.h
sha1_file.c

diff --git a/cache.h b/cache.h
index a727cb4efe462d2f4dff7356d3976393f5fb55a1..1dba4057031dc8d9421ec8a388b36ee9c3494077 100644 (file)
--- a/cache.h
+++ b/cache.h
@@ -96,7 +96,6 @@ static inline unsigned int create_ce_mode(unsigned int mode)
 
 #define cache_entry_size(len) ((offsetof(struct cache_entry,name) + (len) + 8) & ~7)
 
-const char *sha1_file_directory;
 struct cache_entry **active_cache;
 unsigned int active_nr, active_alloc, active_cache_changed;
 
index e6ce455ae90bd430f2128f454bdb6e0575412486..f1c1c70d784aa0587cd4c7143c3d464fd8e5ddc6 100644 (file)
@@ -9,8 +9,6 @@
 #include <stdarg.h>
 #include "cache.h"
 
-const char *sha1_file_directory = NULL;
-
 #ifndef O_NOATIME
 #if defined(__linux__) && (defined(__i386__) || defined(__PPC__))
 #define O_NOATIME 01000000