init-db: migrate to parse-options
[gitweb.git] / sha1_file.c
index 1964a6d39b87fe0153bf40d8d72a19cb0aea7fe7..4576ff77f3ceec7231b14261f7386abb2289cd5c 100644 (file)
@@ -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++];