Skip to content
Snippets Groups Projects
Commit 1e6bd556 authored by Alvaro Herrera's avatar Alvaro Herrera
Browse files

Remove unused variable.

Per Grzegorz Jaskiewicz report from LLVM static checker
parent 3bee0a46
No related branches found
No related tags found
No related merge requests found
...@@ -19,7 +19,7 @@ ...@@ -19,7 +19,7 @@
* *
* *
* IDENTIFICATION * 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) ...@@ -441,7 +441,6 @@ _PrintTocData(ArchiveHandle *AH, TocEntry *te, RestoreOptions *ropt)
int id; int id;
lclTocEntry *tctx = (lclTocEntry *) te->formatData; lclTocEntry *tctx = (lclTocEntry *) te->formatData;
int blkType; int blkType;
int found = 0;
if (tctx->dataState == K_OFFSET_NO_DATA) if (tctx->dataState == K_OFFSET_NO_DATA)
return; return;
...@@ -450,8 +449,6 @@ _PrintTocData(ArchiveHandle *AH, TocEntry *te, RestoreOptions *ropt) ...@@ -450,8 +449,6 @@ _PrintTocData(ArchiveHandle *AH, TocEntry *te, RestoreOptions *ropt)
{ {
/* Skip over unnecessary blocks until we get the one we want. */ /* Skip over unnecessary blocks until we get the one we want. */
found = 0;
_readBlockHeader(AH, &blkType, &id); _readBlockHeader(AH, &blkType, &id);
while (id != te->dumpId) while (id != te->dumpId)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment