Commit dfa58878 authored by Alvaro Herrera's avatar Alvaro Herrera

Silence compiler warnings, per Bruce.

parent 7fb1a0b5
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
* *
* *
* IDENTIFICATION * IDENTIFICATION
* $PostgreSQL: pgsql/src/backend/commands/analyze.c,v 1.105 2007/04/18 16:44:17 alvherre Exp $ * $PostgreSQL: pgsql/src/backend/commands/analyze.c,v 1.106 2007/04/19 16:26:44 alvherre Exp $
* *
*------------------------------------------------------------------------- *-------------------------------------------------------------------------
*/ */
...@@ -468,7 +468,7 @@ analyze_rel(Oid relid, VacuumStmt *vacstmt) ...@@ -468,7 +468,7 @@ analyze_rel(Oid relid, VacuumStmt *vacstmt)
/* Log the action if appropriate */ /* Log the action if appropriate */
if (IsAutoVacuumWorkerProcess() && Log_autovacuum >= 0) if (IsAutoVacuumWorkerProcess() && Log_autovacuum >= 0)
{ {
long diff; long diff = 0L;
if (Log_autovacuum > 0) if (Log_autovacuum > 0)
{ {
......
...@@ -36,7 +36,7 @@ ...@@ -36,7 +36,7 @@
* *
* *
* IDENTIFICATION * IDENTIFICATION
* $PostgreSQL: pgsql/src/backend/commands/vacuumlazy.c,v 1.86 2007/04/18 16:44:18 alvherre Exp $ * $PostgreSQL: pgsql/src/backend/commands/vacuumlazy.c,v 1.87 2007/04/19 16:26:44 alvherre Exp $
* *
*------------------------------------------------------------------------- *-------------------------------------------------------------------------
*/ */
...@@ -217,7 +217,7 @@ lazy_vacuum_rel(Relation onerel, VacuumStmt *vacstmt) ...@@ -217,7 +217,7 @@ lazy_vacuum_rel(Relation onerel, VacuumStmt *vacstmt)
/* and log the action if appropriate */ /* and log the action if appropriate */
if (IsAutoVacuumWorkerProcess() && Log_autovacuum >= 0) if (IsAutoVacuumWorkerProcess() && Log_autovacuum >= 0)
{ {
long diff; long diff = 0L;
if (Log_autovacuum > 0) if (Log_autovacuum > 0)
{ {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment