threads / patch / 518

patchRemove unused sha1_file_directory variable.

Subject: [PATCH] Remove unused sha1_file_directory variable.

## tl;dr

One message between May 6, 2005 and May 6, 2005. Diffs are folded; open one to read it.

replies: 0people: 1as markdown or json

Junio C Hamano· May 6, 2005, 23:33 UTC · lore
Now all the users have gone.
Signed-off-by: Junio C Hamano <junkio@cox.net>
---
 cache.h     |    1 -
 sha1_file.c |    3 ---
 2 files changed, 4 deletions(-)
Show changes to 2 files +0 −3

cache.h, sha1_file.c

--- a/cache.h
+++ b/cache.h
@@ -96,7 +96,6 @@ static inline unsigned int create_ce_mod
 
 #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;
 
--- a/sha1_file.c
+++ b/sha1_file.c
@@ -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
----------------------------------------------------------------

← back to recent threads