projects
/
users
/
simon
/
postgres.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ec52e0e
)
Remove unused variable.
author
Alvaro Herrera
<
[email protected]
>
Mon, 24 Aug 2009 14:15:09 +0000
(14:15 +0000)
committer
Alvaro Herrera
<
[email protected]
>
Mon, 24 Aug 2009 14:15:09 +0000
(14:15 +0000)
Per Grzegorz Jaskiewicz report from LLVM static checker
src/bin/pg_dump/pg_backup_custom.c
patch
|
blob
|
blame
|
history
diff --git
a/src/bin/pg_dump/pg_backup_custom.c
b/src/bin/pg_dump/pg_backup_custom.c
index d2857250d183951d1a55419fa743f88caea38653..ea16c0b42b0916b02ebf737663ba8aeebda171b8 100644
(file)
--- 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)