diff options
author | Junio C Hamano <gitster@pobox.com> | 2009-01-29 09:32:52 +0100 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2009-01-29 09:32:52 +0100 |
commit | 8c95d3c31b5493ea229808669c811ad9102143fe (patch) | |
tree | 70ddc31a745d78f57ac09f707e8ec721ade76556 /sha1_file.c | |
parent | Simplify t3412 (diff) | |
parent | GIT 1.6.1.2 (diff) | |
download | git-8c95d3c31b5493ea229808669c811ad9102143fe.tar.xz git-8c95d3c31b5493ea229808669c811ad9102143fe.zip |
Sync with 1.6.1.2
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'sha1_file.c')
-rw-r--r-- | sha1_file.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sha1_file.c b/sha1_file.c index 360f7e5a02..8868b800cb 100644 --- a/sha1_file.c +++ b/sha1_file.c @@ -2340,7 +2340,8 @@ static int create_tmpfile(char *buffer, size_t bufsiz, const char *filename) static int write_loose_object(const unsigned char *sha1, char *hdr, int hdrlen, void *buf, unsigned long len, time_t mtime) { - int fd, size, ret; + int fd, ret; + size_t size; unsigned char *compressed; z_stream stream; char *filename; |