Commit 50881e33 authored by Bruce Momjian's avatar Bruce Momjian

Remove compile warning.

parent 0a50d30b
...@@ -8,7 +8,7 @@ ...@@ -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 @@ ...@@ -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, ...@@ -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, ...@@ -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) ...@@ -198,6 +202,7 @@ StrategyEvaluationIsValid(StrategyEvaluation evaluation)
} }
return true; return true;
} }
#endif
/* ---------------- /* ----------------
* StrategyTermEvaluate * StrategyTermEvaluate
......
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