mirror of
https://github.com/ckolivas/lrzip.git
synced 2026-04-21 06:03:54 +00:00
Remove unused offset variable.
This commit is contained in:
parent
11052f56f3
commit
1b965167ff
1 changed files with 2 additions and 2 deletions
4
stream.c
4
stream.c
|
|
@ -631,10 +631,10 @@ const i64 one_g = 1000 * 1024 * 1024;
|
|||
ssize_t write_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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue