aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/backend/storage/file/buffile.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/backend/storage/file/buffile.c b/src/backend/storage/file/buffile.c
index b402f064bbf..3907349b691 100644
--- a/src/backend/storage/file/buffile.c
+++ b/src/backend/storage/file/buffile.c
@@ -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;
}
}