summaryrefslogtreecommitdiff
path: root/update-cache.c
diff options
context:
space:
mode:
Diffstat (limited to 'update-cache.c')
-rw-r--r--update-cache.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/update-cache.c b/update-cache.c
index 210c786af6..97d5e8b6b0 100644
--- a/update-cache.c
+++ b/update-cache.c
@@ -63,7 +63,6 @@ static int add_file_to_cache_1(char *path)
struct cache_entry *ce;
struct stat st;
int fd;
- unsigned int len;
char *target;
if (lstat(path, &st) < 0) {