mirror of
https://github.com/postgres/postgres.git
synced 2026-03-21 18:10:25 -04:00
Remove useless variable.
This commit is contained in:
parent
f5d18862bb
commit
4dd804a99c
1 changed files with 0 additions and 2 deletions
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue