Content-Length: 270495 | pFad | http://github.com/postgrespro/postgres/commit/4dd804a99cd66d8d336ce7060c91e23db3263c31

2C Remove useless variable. · postgrespro/postgres@4dd804a · GitHub
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)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/postgrespro/postgres/commit/4dd804a99cd66d8d336ce7060c91e23db3263c31

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy