[postgis-tickets] r16702 - Remove duplicate strcmp(), closes #4154

Paul Ramsey pramsey at cleverelephant.ca
Thu Aug 23 05:45:28 PDT 2018


Author: pramsey
Date: 2018-08-23 05:45:27 -0700 (Thu, 23 Aug 2018)
New Revision: 16702

Modified:
   trunk/postgis/lwgeom_geos.c
Log:
Remove duplicate strcmp(), closes #4154


Modified: trunk/postgis/lwgeom_geos.c
===================================================================
--- trunk/postgis/lwgeom_geos.c	2018-08-23 09:56:36 UTC (rev 16701)
+++ trunk/postgis/lwgeom_geos.c	2018-08-23 12:45:27 UTC (rev 16702)
@@ -935,8 +935,7 @@
 				/* quadrant segments is an int */
 				quadsegs = atoi(val);
 			}
-			else if ( !strcmp(key, "side") ||
-					  !strcmp(key, "side") )
+			else if ( !strcmp(key, "side") )
 			{
 				if ( !strcmp(val, "both") )
 				{



More information about the postgis-tickets mailing list