summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlvaro Herrera2009-08-24 14:15:09 +0000
committerAlvaro Herrera2009-08-24 14:15:09 +0000
commit0940a936ad744efb147597c506b5ef7333eebbb0 (patch)
tree0ccffebe078f88a12feccced03dac3a267c3da1e
parentec52e0e38f859eb7edbde62108f0a596699d196a (diff)
Remove unused variable.
Per Grzegorz Jaskiewicz report from LLVM static checker
-rw-r--r--src/bin/pg_dump/pg_backup_custom.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/bin/pg_dump/pg_backup_custom.c b/src/bin/pg_dump/pg_backup_custom.c
index d2857250d1..ea16c0b42b 100644
--- a/src/bin/pg_dump/pg_backup_custom.c
+++ b/src/bin/pg_dump/pg_backup_custom.c
@@ -441,7 +441,6 @@ _PrintTocData(ArchiveHandle *AH, TocEntry *te, RestoreOptions *ropt)
int id;
lclTocEntry *tctx = (lclTocEntry *) te->formatData;
int blkType;
- int found = 0;
if (tctx->dataState == K_OFFSET_NO_DATA)
return;
@@ -450,8 +449,6 @@ _PrintTocData(ArchiveHandle *AH, TocEntry *te, RestoreOptions *ropt)
{
/* Skip over unnecessary blocks until we get the one we want. */
- found = 0;
-
_readBlockHeader(AH, &blkType, &id);
while (id != te->dumpId)