Commit 81c83db3 authored by Thomas G. Lockhart's avatar Thomas G. Lockhart

Surround a variable declaration with ENABLE_OUTER_JOINS to suppress

 compiler warnings about an unused variable.
parent 0c1e2e49
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
* *
* *
* IDENTIFICATION * IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/parser/parse_clause.c,v 1.31 1999/05/13 07:28:36 tgl Exp $ * $Header: /cvsroot/pgsql/src/backend/parser/parse_clause.c,v 1.32 1999/05/13 14:59:05 thomas Exp $
* *
*------------------------------------------------------------------------- *-------------------------------------------------------------------------
*/ */
...@@ -285,7 +285,9 @@ parseFromClause(ParseState *pstate, List *frmList, Node **qual) ...@@ -285,7 +285,9 @@ parseFromClause(ParseState *pstate, List *frmList, Node **qual)
else if (IsA(n, JoinExpr)) else if (IsA(n, JoinExpr))
{ {
JoinExpr *j = (JoinExpr *)n; JoinExpr *j = (JoinExpr *)n;
#ifdef ENABLE_OUTER_JOINS
char *lname = transformTableEntry(pstate, (RangeVar *)j->larg); char *lname = transformTableEntry(pstate, (RangeVar *)j->larg);
#endif
char *rname; char *rname;
if (IsA((Node *)j->rarg, RangeVar)) if (IsA((Node *)j->rarg, RangeVar))
......
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