Remove unused offset variable.

This commit is contained in:
Con Kolivas 2011-03-09 13:33:53 +11:00
parent e22967db11
commit fb2de8cb35

View file

@ -654,10 +654,10 @@ ssize_t write_1g(int fd, void *buf, i64 len)
ssize_t read_1g(int fd, void *buf, i64 len)
{
uchar *offset_buf = buf;
i64 total, offset;
ssize_t ret;
i64 total;
total = offset = 0;
total = 0;
while (len > 0) {
if (len > one_g)
ret = one_g;