mirror of
https://git.postgresql.org/git/postgresql.git
synced 2025-02-05 19:09:58 +08:00
Suppress compiler warning.
This commit is contained in:
parent
a0a9c5bcb9
commit
66d7bbf674
@ -7,7 +7,7 @@
|
||||
* Portions Copyright (c) 1996-2007, PostgreSQL Global Development Group
|
||||
* Portions Copyright (c) 1994, Regents of the University of California
|
||||
*
|
||||
* $PostgreSQL: pgsql/src/backend/utils/adt/xml.c,v 1.61 2007/11/27 12:21:05 petere Exp $
|
||||
* $PostgreSQL: pgsql/src/backend/utils/adt/xml.c,v 1.62 2007/11/27 18:13:01 tgl Exp $
|
||||
*
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
@ -536,7 +536,7 @@ xmltotext(PG_FUNCTION_ARGS)
|
||||
xmltype *data = PG_GETARG_XML_P(0);
|
||||
|
||||
/* It's actually binary compatible. */
|
||||
return (text *) data;
|
||||
PG_RETURN_TEXT_P((text *) data);
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user