diff options
author | Alvaro Herrera <alvherre@alvh.no-ip.org> | 2009-08-24 14:15:09 +0000 |
---|---|---|
committer | Alvaro Herrera <alvherre@alvh.no-ip.org> | 2009-08-24 14:15:09 +0000 |
commit | 1e6bd556d8cc5346b38e7626b96edfab6ca0d544 (patch) | |
tree | dc82f193d5a2bf8f0636de2265128855bd6e104f | |
parent | 3bee0a46423f60df194f5ce8529530f271b68b86 (diff) | |
download | postgresql-1e6bd556d8cc5346b38e7626b96edfab6ca0d544.tar.gz postgresql-1e6bd556d8cc5346b38e7626b96edfab6ca0d544.zip |
Remove unused variable.
Per Grzegorz Jaskiewicz report from LLVM static checker
-rw-r--r-- | src/bin/pg_dump/pg_backup_custom.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/bin/pg_dump/pg_backup_custom.c b/src/bin/pg_dump/pg_backup_custom.c index a90d19bb3ae..607044660aa 100644 --- a/src/bin/pg_dump/pg_backup_custom.c +++ b/src/bin/pg_dump/pg_backup_custom.c @@ -19,7 +19,7 @@ * * * IDENTIFICATION - * $PostgreSQL: pgsql/src/bin/pg_dump/pg_backup_custom.c,v 1.43 2009/07/21 21:46:10 tgl Exp $ + * $PostgreSQL: pgsql/src/bin/pg_dump/pg_backup_custom.c,v 1.44 2009/08/24 14:15:09 alvherre Exp $ * *------------------------------------------------------------------------- */ @@ -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) |