Commit 81e7e719 authored by Bruce Momjian's avatar Bruce Momjian

Fix compiler warning:


	int32           domainTypMod = NULL;

should be:

	int32           domainTypMod = 0;
parent 6797ddcc
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
* *
* *
* IDENTIFICATION * IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/parser/parse_coerce.c,v 2.75 2002/07/06 20:16:36 momjian Exp $ * $Header: /cvsroot/pgsql/src/backend/parser/parse_coerce.c,v 2.76 2002/07/09 05:21:35 momjian Exp $
* *
*------------------------------------------------------------------------- *-------------------------------------------------------------------------
*/ */
...@@ -290,7 +290,7 @@ coerce_type_typmod(ParseState *pstate, Node *node, ...@@ -290,7 +290,7 @@ coerce_type_typmod(ParseState *pstate, Node *node,
{ {
Oid baseTypeId; Oid baseTypeId;
Oid funcId; Oid funcId;
int32 domainTypMod = NULL; int32 domainTypMod = 0;
/* If given type is a domain, use base type instead */ /* If given type is a domain, use base type instead */
baseTypeId = getBaseTypeTypeMod(targetTypeId, &domainTypMod); baseTypeId = getBaseTypeTypeMod(targetTypeId, &domainTypMod);
......
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