Skip to content

Commit 66d7bbf

Browse files
committed
Suppress compiler warning.
1 parent a0a9c5b commit 66d7bbf

File tree

1 file changed

+2
-2
lines changed
  • src/backend/utils/adt

1 file changed

+2
-2
lines changed

src/backend/utils/adt/xml.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
* Portions Copyright (c) 1996-2007, PostgreSQL Global Development Group
88
* Portions Copyright (c) 1994, Regents of the University of California
99
*
10-
* $PostgreSQL: pgsql/src/backend/utils/adt/xml.c,v 1.61 2007/11/27 12:21:05 petere Exp $
10+
* $PostgreSQL: pgsql/src/backend/utils/adt/xml.c,v 1.62 2007/11/27 18:13:01 tgl Exp $
1111
*
1212
*-------------------------------------------------------------------------
1313
*/
@@ -536,7 +536,7 @@ xmltotext(PG_FUNCTION_ARGS)
536536
xmltype *data = PG_GETARG_XML_P(0);
537537

538538
/* It's actually binary compatible. */
539-
return (text *) data;
539+
PG_RETURN_TEXT_P((text *) data);
540540
}
541541

542542

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy