From 6ea80b470b112138d04bf0c70c17d0b33d821827 Mon Sep 17 00:00:00 2001
From: "Marc G. Fournier" <scrappy@hub.org>
Date: Mon, 19 May 1997 03:49:39 +0000
Subject: [PATCH] From: Olaf Mittelstaedt <MSTAEDT@va-sigi.va.fh-ulm.de>

Minor patches to geo_ops.c to clean up compile under AIX 4.1.3
---
 src/backend/utils/adt/geo_ops.c | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/src/backend/utils/adt/geo_ops.c b/src/backend/utils/adt/geo_ops.c
index 0b485007ee3..4b5c3eaf6d3 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.6 1997/05/11 15:11:41 thomas Exp $
+ *    $Header: /cvsroot/pgsql/src/backend/utils/adt/geo_ops.c,v 1.7 1997/05/19 03:49:39 scrappy Exp $
  *
  *-------------------------------------------------------------------------
  */
@@ -986,7 +986,7 @@ path_close(PATH *path)
 {
     PATH *result;
 
-    if (PointerIsValid((char *)result = path_copy(path)))
+    if (PointerIsValid((char *)(result = path_copy(path))))
 	result->closed = TRUE;
 
     return(result);
@@ -997,7 +997,7 @@ path_open(PATH *path)
 {
     PATH *result;
 
-    if (PointerIsValid((char *)result = path_copy(path)))
+    if (PointerIsValid((char *)(result = path_copy(path))))
 	result->closed = FALSE;
 
     return(result);
@@ -2070,7 +2070,7 @@ POLYGON *poly_in(char *str)
 
 #if OLD_FORMAT_IN
     };
-#endif;
+#endif
 
     make_bound_box(poly);
 
@@ -2639,7 +2639,7 @@ poly_path(POLYGON *poly)
  *
  *
  * IDENTIFICATION
- *    $Header: /cvsroot/pgsql/src/backend/utils/adt/geo_ops.c,v 1.6 1997/05/11 15:11:41 thomas Exp $
+ *    $Header: /cvsroot/pgsql/src/backend/utils/adt/geo_ops.c,v 1.7 1997/05/19 03:49:39 scrappy Exp $
  *
  *-------------------------------------------------------------------------
  */
-- 
GitLab