Commit 4dd804a9 authored by Thomas Munro's avatar Thomas Munro

Remove useless variable.

parent f5d18862
......@@ -581,7 +581,6 @@ BufFileRead(BufFile *file, void *ptr, size_t size)
void
BufFileWrite(BufFile *file, void *ptr, size_t size)
{
size_t nwritten = 0;
size_t nthistime;
Assert(!file->readOnly);
......@@ -615,7 +614,6 @@ BufFileWrite(BufFile *file, void *ptr, size_t size)
file->nbytes = file->pos;
ptr = (void *) ((char *) ptr + nthistime);
size -= nthistime;
nwritten += nthistime;
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment