update-cache: remove compiler warning
"Unused variable len"
This commit is contained in:
parent
ffbe1addd5
commit
22b781051b
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user