1
0
mirror of https://github.com/postgres/postgres.git synced 2025-05-11 05:41:32 +03:00

Silence compiler warnings, per Bruce.

This commit is contained in:
Alvaro Herrera 2007-04-19 16:26:44 +00:00
parent 7fb1a0b5f3
commit dfa58878cb
2 changed files with 4 additions and 4 deletions
src/backend/commands

@ -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)
/* 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 @@
* *
* *
* 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)
/* 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)
{ {