Commit d8949adc authored by Vadim B. Mikheev's avatar Vadim B. Mikheev

Cleaning GCC warnings.

parent c06ecfb4
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
* *
* *
* IDENTIFICATION * IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/optimizer/prep/prepunion.c,v 1.13 1997/12/24 06:06:07 momjian Exp $ * $Header: /cvsroot/pgsql/src/backend/optimizer/prep/prepunion.c,v 1.14 1997/12/26 06:02:26 vadim Exp $
* *
*------------------------------------------------------------------------- *-------------------------------------------------------------------------
*/ */
...@@ -31,7 +31,7 @@ ...@@ -31,7 +31,7 @@
#include "optimizer/prep.h" #include "optimizer/prep.h"
#include "optimizer/plancat.h" #include "optimizer/plancat.h"
#include "optimizer/planner.h" #include "optimizer/planner.h"
#include "optimizer/prep.h" #include "optimizer/planmain.h"
static List *plan_union_query(List *relids, Index rt_index, static List *plan_union_query(List *relids, Index rt_index,
RangeTblEntry *rt_entry, Query *parse, UnionFlag flag, RangeTblEntry *rt_entry, Query *parse, UnionFlag flag,
...@@ -203,6 +203,8 @@ plan_union_queries(Index rt_index, ...@@ -203,6 +203,8 @@ plan_union_queries(Index rt_index,
/* do nothing */ /* do nothing */
break; break;
} }
return ((Append*)NULL); /* to make gcc happy */
} }
......
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