Skip to content

Commit 1e6bd55

Browse files
committed
Remove unused variable.
Per Grzegorz Jaskiewicz report from LLVM static checker
1 parent 3bee0a4 commit 1e6bd55

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

src/bin/pg_dump/pg_backup_custom.c

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
*
2020
*
2121
* IDENTIFICATION
22-
* $PostgreSQL: pgsql/src/bin/pg_dump/pg_backup_custom.c,v 1.43 2009/07/21 21:46:10 tgl Exp $
22+
* $PostgreSQL: pgsql/src/bin/pg_dump/pg_backup_custom.c,v 1.44 2009/08/24 14:15:09 alvherre Exp $
2323
*
2424
*-------------------------------------------------------------------------
2525
*/
@@ -441,7 +441,6 @@ _PrintTocData(ArchiveHandle *AH, TocEntry *te, RestoreOptions *ropt)
441441
int id;
442442
lclTocEntry *tctx = (lclTocEntry *) te->formatData;
443443
int blkType;
444-
int found = 0;
445444

446445
if (tctx->dataState == K_OFFSET_NO_DATA)
447446
return;
@@ -450,8 +449,6 @@ _PrintTocData(ArchiveHandle *AH, TocEntry *te, RestoreOptions *ropt)
450449
{
451450
/* Skip over unnecessary blocks until we get the one we want. */
452451

453-
found = 0;
454-
455452
_readBlockHeader(AH, &blkType, &id);
456453

457454
while (id != te->dumpId)

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