update-cache: remove compiler warning

"Unused variable len"
This commit is contained in:
Linus Torvalds 2005-05-06 08:49:07 -07:00
parent ffbe1addd5
commit 22b781051b

View File

@ -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) {