summaryrefslogtreecommitdiff
path: root/update-cache.c
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@ppc970.osdl.org>2005-05-06 15:49:07 (GMT)
committerLinus Torvalds <torvalds@ppc970.osdl.org>2005-05-06 15:49:07 (GMT)
commit22b781051bc1902b656708acbc51f39654ce969d (patch)
treeab66ad8ff88d9f0973b883a87146e2137670dd26 /update-cache.c
parentffbe1addd5a5b7b7c2f987625a5aa6c1d22e3705 (diff)
downloadgit-22b781051bc1902b656708acbc51f39654ce969d.zip
git-22b781051bc1902b656708acbc51f39654ce969d.tar.gz
git-22b781051bc1902b656708acbc51f39654ce969d.tar.bz2
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 210c786..97d5e8b 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) {