Skip to content

Commit 4dd804a

Browse files
committed
Remove useless variable.
1 parent f5d1886 commit 4dd804a

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/backend/storage/file/buffile.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -581,7 +581,6 @@ BufFileRead(BufFile *file, void *ptr, size_t size)
581581
void
582582
BufFileWrite(BufFile *file, void *ptr, size_t size)
583583
{
584-
size_t nwritten = 0;
585584
size_t nthistime;
586585

587586
Assert(!file->readOnly);
@@ -615,7 +614,6 @@ BufFileWrite(BufFile *file, void *ptr, size_t size)
615614
file->nbytes = file->pos;
616615
ptr = (void *) ((char *) ptr + nthistime);
617616
size -= nthistime;
618-
nwritten += nthistime;
619617
}
620618
}
621619

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy