From d49a73bbc28099d82a49d2e309e9b3837321ded1 Mon Sep 17 00:00:00 2001 From: Tom Lane Date: Tue, 12 Sep 2000 19:39:42 +0000 Subject: [PATCH] Suppress compile warnings caused by failure to use PG_RETURN macro. --- src/backend/utils/adt/quote.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/backend/utils/adt/quote.c b/src/backend/utils/adt/quote.c index aaa4aaaa1b..573291d327 100644 --- a/src/backend/utils/adt/quote.c +++ b/src/backend/utils/adt/quote.c @@ -7,7 +7,7 @@ * * * IDENTIFICATION - * $Header: /cvsroot/pgsql/src/backend/utils/adt/quote.c,v 1.1 2000/09/05 20:25:13 wieck Exp $ + * $Header: /cvsroot/pgsql/src/backend/utils/adt/quote.c,v 1.2 2000/09/12 19:39:42 tgl Exp $ * *------------------------------------------------------------------------- */ @@ -46,7 +46,7 @@ quote_ident(PG_FUNCTION_ARGS) PG_FREE_IF_COPY(t, 0); - return result; + PG_RETURN_TEXT_P(result); } /* @@ -63,7 +63,7 @@ quote_literal(PG_FUNCTION_ARGS) PG_FREE_IF_COPY(t, 0); - return result; + PG_RETURN_TEXT_P(result); }