Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
init-db: migrate to parse-options
[gitweb.git]
/
sha1_file.c
diff --git
a/sha1_file.c
b/sha1_file.c
index 1964a6d39b87fe0153bf40d8d72a19cb0aea7fe7..4576ff77f3ceec7231b14261f7386abb2289cd5c 100644
(file)
--- a/
sha1_file.c
+++ b/
sha1_file.c
@@
-1162,8
+1162,7
@@
unsigned long unpack_object_header_buffer(const unsigned char *buf,
unsigned long len, enum object_type *type, unsigned long *sizep)
{
unsigned shift;
- unsigned char c;
- unsigned long size;
+ unsigned long size, c;
unsigned long used = 0;
c = buf[used++];