remove unnecessary initializations
[jc: I needed to hand merge the changes to the updated codebase, so the result needs to be checked.] Signed-off-by: David Rientjes <rientjes@google.com> Signed-off-by: Junio C Hamano <junkio@cox.net>
This commit is contained in:

committed by
Junio C Hamano

parent
c9c3470aec
commit
96f1e58f52
12
read-cache.c
12
read-cache.c
@ -19,16 +19,16 @@
|
||||
#define CACHE_EXT(s) ( (s[0]<<24)|(s[1]<<16)|(s[2]<<8)|(s[3]) )
|
||||
#define CACHE_EXT_TREE 0x54524545 /* "TREE" */
|
||||
|
||||
struct cache_entry **active_cache = NULL;
|
||||
struct cache_entry **active_cache;
|
||||
static time_t index_file_timestamp;
|
||||
unsigned int active_nr = 0, active_alloc = 0, active_cache_changed = 0;
|
||||
unsigned int active_nr, active_alloc, active_cache_changed;
|
||||
|
||||
struct cache_tree *active_cache_tree = NULL;
|
||||
struct cache_tree *active_cache_tree;
|
||||
|
||||
int cache_errno = 0;
|
||||
int cache_errno;
|
||||
|
||||
static void *cache_mmap = NULL;
|
||||
static size_t cache_mmap_size = 0;
|
||||
static void *cache_mmap;
|
||||
static size_t cache_mmap_size;
|
||||
|
||||
/*
|
||||
* This only updates the "non-critical" parts of the directory
|
||||
|
Reference in New Issue
Block a user