88 *
99 *
1010 * IDENTIFICATION
11- * $PostgreSQL: pgsql/src/backend/utils/adt/geo_ops.c,v 1.103 2009/07/28 09:47:59 teodor Exp $
11+ * $PostgreSQL: pgsql/src/backend/utils/adt/geo_ops.c,v 1.104 2009/08/27 15:59:22 tgl Exp $
1212 *
1313 *-------------------------------------------------------------------------
1414 */
@@ -2939,7 +2939,7 @@ close_lseg(PG_FUNCTION_ARGS)
29392939memcpy (& point ,& l1 -> p [1 ],sizeof (Point ));
29402940}
29412941
2942- if (( d = dist_ps_internal (& l2 -> p [0 ],l1 ) )< dist )
2942+ if (dist_ps_internal (& l2 -> p [0 ],l1 )< dist )
29432943{
29442944result = DatumGetPointP (DirectFunctionCall2 (close_ps ,
29452945PointPGetDatum (& l2 -> p [0 ]),
@@ -2950,7 +2950,7 @@ close_lseg(PG_FUNCTION_ARGS)
29502950LsegPGetDatum (l2 )));
29512951}
29522952
2953- if (( d = dist_ps_internal (& l2 -> p [1 ],l1 ) )< dist )
2953+ if (dist_ps_internal (& l2 -> p [1 ],l1 )< dist )
29542954{
29552955result = DatumGetPointP (DirectFunctionCall2 (close_ps ,
29562956PointPGetDatum (& l2 -> p [1 ]),
@@ -2990,7 +2990,7 @@ close_pb(PG_FUNCTION_ARGS)
29902990point .x = box -> low .x ;
29912991point .y = box -> high .y ;
29922992statlseg_construct (& lseg ,& box -> low ,& point );
2993- dist = d = dist_ps_internal (pt ,& lseg );
2993+ dist = dist_ps_internal (pt ,& lseg );
29942994
29952995statlseg_construct (& seg ,& box -> high ,& point );
29962996if ((d = dist_ps_internal (pt ,& seg ))< dist )