Skip to content

Commit 22b7810

Browse files
author
Linus Torvalds
committed
update-cache: remove compiler warning
"Unused variable len"
1 parent ffbe1ad commit 22b7810

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

update-cache.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,6 @@ static int add_file_to_cache_1(char *path)
6363
struct cache_entry *ce;
6464
struct stat st;
6565
int fd;
66-
unsigned int len;
6766
char *target;
6867

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

0 commit comments

Comments
 (0)