From: Bruce Momjian Date: Sun, 1 Jun 1997 03:39:28 +0000 (+0000) Subject: Cleanup for AIX from Darren. X-Git-Tag: REL6_1~98 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=93b03649d4d421747c69f0940d7be9229be41bec;p=postgresql Cleanup for AIX from Darren. --- diff --git a/src/backend/utils/adt/geo_ops.c b/src/backend/utils/adt/geo_ops.c index 2da972612e..5819756095 100644 --- a/src/backend/utils/adt/geo_ops.c +++ b/src/backend/utils/adt/geo_ops.c @@ -7,7 +7,7 @@ * * * IDENTIFICATION - * $Header: /cvsroot/pgsql/src/backend/utils/adt/geo_ops.c,v 1.9 1997/05/23 05:24:53 thomas Exp $ + * $Header: /cvsroot/pgsql/src/backend/utils/adt/geo_ops.c,v 1.10 1997/06/01 03:39:28 momjian Exp $ * *------------------------------------------------------------------------- */ @@ -986,8 +986,7 @@ path_close(PATH *path) { PATH *result; - result = path_copy(path); - if (PointerIsValid(result)) + if (PointerIsValid((char *)(result = path_copy(path)))) result->closed = TRUE; return(result); @@ -998,8 +997,7 @@ path_open(PATH *path) { PATH *result; - result = path_copy(path); - if (PointerIsValid(result)) + if (PointerIsValid((char *)(result = path_copy(path)))) result->closed = FALSE; return(result); @@ -2637,7 +2635,7 @@ poly_path(POLYGON *poly) * * * IDENTIFICATION - * $Header: /cvsroot/pgsql/src/backend/utils/adt/geo_ops.c,v 1.9 1997/05/23 05:24:53 thomas Exp $ + * $Header: /cvsroot/pgsql/src/backend/utils/adt/geo_ops.c,v 1.10 1997/06/01 03:39:28 momjian Exp $ * *------------------------------------------------------------------------- */