Code

update-cache: remove compiler warning
authorLinus Torvalds <torvalds@ppc970.osdl.org>
Fri, 6 May 2005 15:49:07 +0000 (08:49 -0700)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Fri, 6 May 2005 15:49:07 +0000 (08:49 -0700)
"Unused variable len"

update-cache.c

index 210c786af6734f6ea772f2fc39b0303fde13e887..97d5e8b6b0695b82a235026430050a4140a1586a 100644 (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) {