Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit dfa5887

Browse files
committed
Silence compiler warnings, per Bruce.
1 parent 7fb1a0b commit dfa5887

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/backend/commands/analyze.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
*
99
*
1010
* IDENTIFICATION
11-
* $PostgreSQL: pgsql/src/backend/commands/analyze.c,v 1.105 2007/04/18 16:44:17 alvherre Exp $
11+
* $PostgreSQL: pgsql/src/backend/commands/analyze.c,v 1.106 2007/04/19 16:26:44 alvherre Exp $
1212
*
1313
*-------------------------------------------------------------------------
1414
*/
@@ -468,7 +468,7 @@ analyze_rel(Oid relid, VacuumStmt *vacstmt)
468468
/* Log the action if appropriate */
469469
if (IsAutoVacuumWorkerProcess() && Log_autovacuum >= 0)
470470
{
471-
long diff;
471+
long diff = 0L;
472472

473473
if (Log_autovacuum > 0)
474474
{

src/backend/commands/vacuumlazy.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
*
3737
*
3838
* IDENTIFICATION
39-
* $PostgreSQL: pgsql/src/backend/commands/vacuumlazy.c,v 1.86 2007/04/18 16:44:18 alvherre Exp $
39+
* $PostgreSQL: pgsql/src/backend/commands/vacuumlazy.c,v 1.87 2007/04/19 16:26:44 alvherre Exp $
4040
*
4141
*-------------------------------------------------------------------------
4242
*/
@@ -217,7 +217,7 @@ lazy_vacuum_rel(Relation onerel, VacuumStmt *vacstmt)
217217
/* and log the action if appropriate */
218218
if (IsAutoVacuumWorkerProcess() && Log_autovacuum >= 0)
219219
{
220-
long diff;
220+
long diff = 0L;
221221

222222
if (Log_autovacuum > 0)
223223
{

0 commit comments

Comments
 (0)