From: Linus Torvalds Date: Fri, 6 May 2005 15:49:07 +0000 (-0700) Subject: update-cache: remove compiler warning X-Git-Tag: v0.99~626 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=22b781051bc1902b656708acbc51f39654ce969d;p=git.git update-cache: remove compiler warning "Unused variable len" --- diff --git a/update-cache.c b/update-cache.c index 210c786af..97d5e8b6b 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) {