Browse Source

update-cache: remove compiler warning

"Unused variable len"
maint
Linus Torvalds 20 years ago
parent
commit
22b781051b
  1. 1
      update-cache.c

1
update-cache.c

@ -63,7 +63,6 @@ static int add_file_to_cache_1(char *path)
struct cache_entry *ce; struct cache_entry *ce;
struct stat st; struct stat st;
int fd; int fd;
unsigned int len;
char *target; char *target;


if (lstat(path, &st) < 0) { if (lstat(path, &st) < 0) {

Loading…
Cancel
Save