Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.kernel.org/pub/scm/git/git.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@ppc970.osdl.org>2005-05-06 19:49:07 +0400
committerLinus Torvalds <torvalds@ppc970.osdl.org>2005-05-06 19:49:07 +0400
commit22b781051bc1902b656708acbc51f39654ce969d (patch)
treeab66ad8ff88d9f0973b883a87146e2137670dd26 /update-cache.c
parentffbe1addd5a5b7b7c2f987625a5aa6c1d22e3705 (diff)
update-cache: remove compiler warning
"Unused variable len"
Diffstat (limited to 'update-cache.c')
-rw-r--r--update-cache.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/update-cache.c b/update-cache.c
index 210c786af6..97d5e8b6b0 100644
--- a/update-cache.c
+++ b/update-cache.c
@@ -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) {