1
0
mirror of https://github.com/postgres/postgres.git synced 2025-10-13 18:28:01 +03:00

Remove compile warning.

This commit is contained in:
Bruce Momjian
1997-08-22 16:48:14 +00:00
parent 0a50d30bd7
commit 50881e336b

View File

@@ -8,7 +8,7 @@
* *
* *
* IDENTIFICATION * IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/access/index/Attic/istrat.c,v 1.8 1997/08/19 21:29:32 momjian Exp $ * $Header: /cvsroot/pgsql/src/backend/access/index/Attic/istrat.c,v 1.9 1997/08/22 16:48:14 momjian Exp $
* *
*------------------------------------------------------------------------- *-------------------------------------------------------------------------
*/ */
@@ -26,6 +26,7 @@
#include <access/istrat.h> #include <access/istrat.h>
#include <fmgr.h> #include <fmgr.h>
#ifndef NO_ASSERT_CHECKING
static bool StrategyEvaluationIsValid(StrategyEvaluation evaluation); static bool StrategyEvaluationIsValid(StrategyEvaluation evaluation);
static bool StrategyExpressionIsValid(StrategyExpression expression, static bool StrategyExpressionIsValid(StrategyExpression expression,
StrategyNumber maxStrategy); StrategyNumber maxStrategy);
@@ -35,6 +36,8 @@ static bool StrategyOperatorIsValid(StrategyOperator operator,
StrategyNumber maxStrategy); StrategyNumber maxStrategy);
static bool StrategyTermIsValid(StrategyTerm term, static bool StrategyTermIsValid(StrategyTerm term,
StrategyNumber maxStrategy); StrategyNumber maxStrategy);
#endif
/* ---------------------------------------------------------------- /* ----------------------------------------------------------------
* misc strategy support routines * misc strategy support routines
@@ -105,6 +108,7 @@ AttributeNumberGetIndexStrategySize(AttrNumber maxAttributeNumber,
maxAttributeNumber * maxStrategyNumber * sizeof (ScanKeyData); maxAttributeNumber * maxStrategyNumber * sizeof (ScanKeyData);
} }
#ifndef NO_ASSERT_CHECKING
/* /*
* StrategyTransformMapIsValid is now a macro in istrat.h -cim 4/27/91 * StrategyTransformMapIsValid is now a macro in istrat.h -cim 4/27/91
*/ */
@@ -198,6 +202,7 @@ StrategyEvaluationIsValid(StrategyEvaluation evaluation)
} }
return true; return true;
} }
#endif
/* ---------------- /* ----------------
* StrategyTermEvaluate * StrategyTermEvaluate