Skip to content

Commit d8949ad

Browse files
committed
Cleaning GCC warnings.
1 parent c06ecfb commit d8949ad

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

src/backend/optimizer/prep/prepunion.c

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
*
88
*
99
* IDENTIFICATION
10-
* $Header: /cvsroot/pgsql/src/backend/optimizer/prep/prepunion.c,v 1.13 1997/12/24 06:06:07 momjian Exp $
10+
* $Header: /cvsroot/pgsql/src/backend/optimizer/prep/prepunion.c,v 1.14 1997/12/26 06:02:26 vadim Exp $
1111
*
1212
*-------------------------------------------------------------------------
1313
*/
@@ -31,7 +31,7 @@
3131
#include "optimizer/prep.h"
3232
#include "optimizer/plancat.h"
3333
#include "optimizer/planner.h"
34-
#include "optimizer/prep.h"
34+
#include "optimizer/planmain.h"
3535

3636
static List *plan_union_query(List *relids, Index rt_index,
3737
RangeTblEntry *rt_entry, Query *parse, UnionFlag flag,
@@ -203,6 +203,8 @@ plan_union_queries(Index rt_index,
203203
/* do nothing */
204204
break;
205205
}
206+
207+
return ((Append*)NULL); /* to make gcc happy */
206208
}
207209

208210

0 commit comments

Comments
 (0)